diff options
author | Mark Kettenis <kettenis@gnu.org> | 2003-11-14 21:22:42 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2003-11-14 21:22:42 +0000 |
commit | 4c8c40e6cbcbf0f68cb32dfb71417197b2b25316 (patch) | |
tree | d0a54fb6e54426187ec62e8730286cdc3187633e /gdb/gdbarch.h | |
parent | 0e5d83e3b65b364eadc28d31007be1f284a651d3 (diff) | |
download | gdb-4c8c40e6cbcbf0f68cb32dfb71417197b2b25316.zip gdb-4c8c40e6cbcbf0f68cb32dfb71417197b2b25316.tar.gz gdb-4c8c40e6cbcbf0f68cb32dfb71417197b2b25316.tar.bz2 |
* gdbarch.sh (skip_solib_resolver): Change into a multi-arch
function.
* gdbarch.c, gdbarch.h: Regenerate.
* infrun.c (handle_inferior_event): Call
gdbarch_skip_solib_resolver instead of SKIP_SOLIB_RESOLVER.
* arch-utils.c (generic_in_solib_call_trampoline): Adjust function
definition.
* arch-utils.h (generic_in_solib_call_trampoline): Adjust function
prototype.
Diffstat (limited to 'gdb/gdbarch.h')
-rw-r--r-- | gdb/gdbarch.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h index 6901259..a9df675 100644 --- a/gdb/gdbarch.h +++ b/gdb/gdbarch.h @@ -2138,15 +2138,9 @@ extern void set_gdbarch_skip_trampoline_code (struct gdbarch *gdbarch, gdbarch_s evaluates non-zero, this is the address where the debugger will place a step-resume breakpoint to get us past the dynamic linker. */ -typedef CORE_ADDR (gdbarch_skip_solib_resolver_ftype) (CORE_ADDR pc); +typedef CORE_ADDR (gdbarch_skip_solib_resolver_ftype) (struct gdbarch *gdbarch, CORE_ADDR pc); extern CORE_ADDR gdbarch_skip_solib_resolver (struct gdbarch *gdbarch, CORE_ADDR pc); extern void set_gdbarch_skip_solib_resolver (struct gdbarch *gdbarch, gdbarch_skip_solib_resolver_ftype *skip_solib_resolver); -#if (GDB_MULTI_ARCH > GDB_MULTI_ARCH_PARTIAL) && defined (SKIP_SOLIB_RESOLVER) -#error "Non multi-arch definition of SKIP_SOLIB_RESOLVER" -#endif -#if !defined (SKIP_SOLIB_RESOLVER) -#define SKIP_SOLIB_RESOLVER(pc) (gdbarch_skip_solib_resolver (current_gdbarch, pc)) -#endif /* For SVR4 shared libraries, each call goes through a small piece of trampoline code in the ".plt" section. IN_SOLIB_CALL_TRAMPOLINE evaluates |