From bb1b1cf1c7f4b4dfb5152e5cf39b7dd6b095a75b Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Wed, 26 Jun 2013 21:38:23 +0000 Subject: [PATCH] Garbage collect SOLIB_IN_DYNAMIC_LINKER. This hasn't been used for years. gdb/ 2013-06-26 Pedro Alves * infrun.c (SOLIB_IN_DYNAMIC_LINKER): Delete macro and describing comment. --- gdb/ChangeLog | 5 +++++ gdb/infrun.c | 12 ------------ 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index af5027386ba..ac1bba22f9c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2013-06-26 Pedro Alves + + * infrun.c (SOLIB_IN_DYNAMIC_LINKER): Delete macro and describing + comment. + 2013-06-26 Pedro Alves * infrun.c: Update comments on stepping over runtime loader diff --git a/gdb/infrun.c b/gdb/infrun.c index d36d2e04244..84e405327a7 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. */ -- 2.30.2