aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2008-09-09 15:49:04 +0000
committerPedro Alves <palves@redhat.com>2008-09-09 15:49:04 +0000
commit11cb6f65abdcbb7a258ae8228b331885678c60be (patch)
treebb155dce959d70fd6aada65ec49b09fb7caf1a27
parenta08f0c757380a9ebc0d9d47d8c0741f466aadd3e (diff)
downloadgdb-11cb6f65abdcbb7a258ae8228b331885678c60be.zip
gdb-11cb6f65abdcbb7a258ae8228b331885678c60be.tar.gz
gdb-11cb6f65abdcbb7a258ae8228b331885678c60be.tar.bz2
* gnu-nat.c (gnu_pid_to_exec_file): Delete.
(init_gnu_ops): Don't register it.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/gnu-nat.c9
2 files changed, 5 insertions, 9 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 0ad2801..2ec5adf 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2008-09-09 Pedro Alves <pedro@codesourcery.com>
+ * gnu-nat.c (gnu_pid_to_exec_file): Delete.
+ (init_gnu_ops): Don't register it.
+
+2008-09-09 Pedro Alves <pedro@codesourcery.com>
+
* gnu-nat.c (gnu_attach): Push target before fetching the list of
threads.
diff --git a/gdb/gnu-nat.c b/gdb/gnu-nat.c
index 9c99580..0c37142 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 */