This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Garbage collect forward_target_decr_pc_after_break
- From: Pedro Alves <palves at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 20 Feb 2015 20:19:00 -0000
- Subject: [binutils-gdb] Garbage collect forward_target_decr_pc_after_break
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=1cc28231d23d8dd604d3482dd4bd46031d5a4052
commit 1cc28231d23d8dd604d3482dd4bd46031d5a4052
Author: Pedro Alves <palves@redhat.com>
Date: Thu Feb 19 20:48:49 2015 +0000
Garbage collect forward_target_decr_pc_after_break
The definition was removed a year ago, but the declaration managed to
stay behind.
gdb/ChangeLog
2015-02-20 Pedro Alves <palves@redhat.com>
* target.h (forward_target_decr_pc_after_break): Delete
declaration.
Diff:
---
gdb/ChangeLog | 5 +++++
gdb/target.h | 4 ----
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 1a1f4ec..139c172 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2015-02-20 Pedro Alves <palves@redhat.com>
+ * target.h (forward_target_decr_pc_after_break): Delete
+ declaration.
+
+2015-02-20 Pedro Alves <palves@redhat.com>
+
PR threads/18006
* linux-thread-db.c (thread_get_info_callback): Return early if
the thread's lwp id is -1.
diff --git a/gdb/target.h b/gdb/target.h
index fb60123..2811c47 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -2287,10 +2287,6 @@ extern void target_call_history_from (ULONGEST begin, int size, int flags);
/* See to_call_history_range. */
extern void target_call_history_range (ULONGEST begin, ULONGEST end, int flags);
-/* See to_decr_pc_after_break. Start searching for the target at OPS. */
-extern CORE_ADDR forward_target_decr_pc_after_break (struct target_ops *ops,
- struct gdbarch *gdbarch);
-
/* See to_decr_pc_after_break. */
extern CORE_ADDR target_decr_pc_after_break (struct gdbarch *gdbarch);