aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2013-06-26 21:38:23 +0000
committerPedro Alves <palves@redhat.com>2013-06-26 21:38:23 +0000
commitbb1b1cf1c7f4b4dfb5152e5cf39b7dd6b095a75b (patch)
treea62bf9ab8a0590f726db4efb58aba997b99279f5
parent7b624e71365424e79d4e9d18eee2d213af9e484b (diff)
downloadgdb-bb1b1cf1c7f4b4dfb5152e5cf39b7dd6b095a75b.zip
gdb-bb1b1cf1c7f4b4dfb5152e5cf39b7dd6b095a75b.tar.gz
gdb-bb1b1cf1c7f4b4dfb5152e5cf39b7dd6b095a75b.tar.bz2
Garbage collect SOLIB_IN_DYNAMIC_LINKER.
This hasn't been used for years. gdb/ 2013-06-26 Pedro Alves <palves@redhat.com> * infrun.c (SOLIB_IN_DYNAMIC_LINKER): Delete macro and describing comment.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/infrun.c12
2 files changed, 5 insertions, 12 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index af50273..ac1bba2 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2013-06-26 Pedro Alves <palves@redhat.com>
+ * infrun.c (SOLIB_IN_DYNAMIC_LINKER): Delete macro and describing
+ comment.
+
+2013-06-26 Pedro Alves <palves@redhat.com>
+
* infrun.c: Update comments on stepping over runtime loader
dynamic symbol resolution code.
diff --git a/gdb/infrun.c b/gdb/infrun.c
index d36d2e0..84e4053 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -221,18 +221,6 @@ set_disable_randomization (char *args, int from_tty,
(possibly confusing) stepping behavior is better than signaling an
error, which will obscure the change in the inferior's state. */
-/* This function returns TRUE if pc is the address of an instruction
- that lies within the dynamic linker (such as the event hook, or the
- dld itself).
-
- This function must be used only when a dynamic linker event has
- been caught, and the inferior is being stepped out of the hook, or
- undefined results are guaranteed. */
-
-#ifndef SOLIB_IN_DYNAMIC_LINKER
-#define SOLIB_IN_DYNAMIC_LINKER(pid,pc) 0
-#endif
-
/* "Observer mode" is somewhat like a more extreme version of
non-stop, in which all GDB operations that might affect the
target's execution have been disabled. */