From: Pedro Alves Date: Tue, 9 Sep 2008 15:49:04 +0000 (+0000) Subject: * gnu-nat.c (gnu_pid_to_exec_file): Delete. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=11cb6f65abdcbb7a258ae8228b331885678c60be;p=binutils-gdb.git * gnu-nat.c (gnu_pid_to_exec_file): Delete. (init_gnu_ops): Don't register it. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0ad28018da6..2ec5adfb93f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2008-09-09 Pedro Alves + + * gnu-nat.c (gnu_pid_to_exec_file): Delete. + (init_gnu_ops): Don't register it. + 2008-09-09 Pedro Alves * gnu-nat.c (gnu_attach): Push target before fetching the list of diff --git a/gdb/gnu-nat.c b/gdb/gnu-nat.c index 9c99580246d..0c3714214c0 100644 --- a/gdb/gnu-nat.c +++ b/gdb/gnu-nat.c @@ -2253,14 +2253,6 @@ gnu_stop (ptid_t ptid) error (_("to_stop target function not implemented")); } -static char * -gnu_pid_to_exec_file (int pid) -{ - error (_("to_pid_to_exec_file target function not implemented")); - return NULL; -} - - static int gnu_thread_alive (ptid_t ptid) { @@ -2649,7 +2641,6 @@ init_gnu_ops (void) gnu_ops.to_thread_alive = gnu_thread_alive; /* to_thread_alive */ gnu_ops.to_pid_to_str = gnu_pid_to_str; /* to_pid_to_str */ gnu_ops.to_stop = gnu_stop; /* to_stop */ - gnu_ops.to_pid_to_exec_file = gnu_pid_to_exec_file; /* to_pid_to_exec_file */ gnu_ops.to_stratum = process_stratum; /* to_stratum */ gnu_ops.to_has_all_memory = 1; /* to_has_all_memory */ gnu_ops.to_has_memory = 1; /* to_has_memory */