From 8dd27370eb43ed1a76883f04c9d93f83a1d195a0 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 17 Dec 2013 21:35:01 -0700 Subject: Add target_ops argument to to_pid_to_exec_file 2014-02-19 Tom Tromey * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument. * target.h (struct target_ops) : Add argument. (target_pid_to_exec_file): Add argument. * target.c (debug_to_pid_to_exec_file): Add argument. (update_current_target): Update. * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument. * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument. * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument. (linux_handle_extended_wait): Update. * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument. * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument. * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument. * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument. --- gdb/fbsd-nat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/fbsd-nat.h') diff --git a/gdb/fbsd-nat.h b/gdb/fbsd-nat.h index d9d1443..a048733 100644 --- a/gdb/fbsd-nat.h +++ b/gdb/fbsd-nat.h @@ -23,7 +23,7 @@ /* Return the name of a file that can be opened to get the symbols for the child process identified by PID. */ -extern char *fbsd_pid_to_exec_file (int pid); +extern char *fbsd_pid_to_exec_file (struct target_ops *self, int pid); /* Iterate over all the memory regions in the current inferior, calling FUNC for each memory region. OBFD is passed as the last -- cgit v1.1