diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-11-01 00:01:11 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-11-01 00:01:11 +0000 |
commit | 96693b3af8a5d580792846796186a854583e23f9 (patch) | |
tree | c095e90161ebeb113d8f0e5c7f90b63a5db74900 | |
parent | b978c863e31303768b84ae38263c0d9bd4226898 (diff) | |
download | gdb-96693b3af8a5d580792846796186a854583e23f9.zip gdb-96693b3af8a5d580792846796186a854583e23f9.tar.gz gdb-96693b3af8a5d580792846796186a854583e23f9.tar.bz2 |
2004-10-31 Andrew Cagney <cagney@gnu.org>
* config/pa/tm-linux.h: Delete #undef IN_SOLIB_CALL_TRAMPOLINE.
* config/tm-sysv4.h (IN_SOLIB_CALL_TRAMPOLINE): Delete.
(in_plt_section): Delete.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/config/pa/tm-linux.h | 1 | ||||
-rw-r--r-- | gdb/config/tm-sysv4.h | 11 |
3 files changed, 4 insertions, 12 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e84b70e..19c19db 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2004-10-31 Andrew Cagney <cagney@gnu.org> + * config/pa/tm-linux.h: Delete #undef IN_SOLIB_CALL_TRAMPOLINE. + * config/tm-sysv4.h (IN_SOLIB_CALL_TRAMPOLINE): Delete. + (in_plt_section): Delete. + * mips-tdep.c (mips_in_solib_return_trampoline): Delete. (mips_gdbarch_init): Do not set same. diff --git a/gdb/config/pa/tm-linux.h b/gdb/config/pa/tm-linux.h index e8b31c5..acbd46e 100644 --- a/gdb/config/pa/tm-linux.h +++ b/gdb/config/pa/tm-linux.h @@ -24,7 +24,6 @@ #include "pa/tm-hppa.h" #include "config/tm-linux.h" -#undef IN_SOLIB_CALL_TRAMPOLINE #undef SKIP_TRAMPOLINE_CODE #endif /* #ifndef TM_LINUX_H */ diff --git a/gdb/config/tm-sysv4.h b/gdb/config/tm-sysv4.h index 9a39af2..9e42320 100644 --- a/gdb/config/tm-sysv4.h +++ b/gdb/config/tm-sysv4.h @@ -20,17 +20,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* For SVR4 shared libraries, each call to a library routine goes through - a small piece of trampoline code in the ".plt" section. - The horribly ugly wait_for_inferior() routine uses this macro to detect - when we have stepped into one of these fragments. - We do not use lookup_solib_trampoline_symbol_by_pc, because - we cannot always find the shared library trampoline symbols - (e.g. on Irix5). */ - -#define IN_SOLIB_CALL_TRAMPOLINE(pc, name) in_plt_section((pc), (name)) -extern int in_plt_section (CORE_ADDR, char *); - /* If PC is in a shared library trampoline code, return the PC where the function itself actually starts. If not, return 0. */ |