aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2003-11-14 21:22:42 +0000
committerMark Kettenis <kettenis@gnu.org>2003-11-14 21:22:42 +0000
commit4c8c40e6cbcbf0f68cb32dfb71417197b2b25316 (patch)
treed0a54fb6e54426187ec62e8730286cdc3187633e /gdb/infrun.c
parent0e5d83e3b65b364eadc28d31007be1f284a651d3 (diff)
downloadgdb-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/infrun.c')
-rw-r--r--gdb/infrun.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 6bc22a6..82cbb83 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -2331,7 +2331,8 @@ process_event_stop_test:
if (step_over_calls == STEP_OVER_UNDEBUGGABLE
&& IN_SOLIB_DYNSYM_RESOLVE_CODE (stop_pc))
{
- CORE_ADDR pc_after_resolver = SKIP_SOLIB_RESOLVER (stop_pc);
+ CORE_ADDR pc_after_resolver =
+ gdbarch_skip_solib_resolver (current_gdbarch, stop_pc);
if (pc_after_resolver)
{