X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Finfrun.c;h=46b5e407afbdf24a6132c457dc95f2c6141bb89f;hb=3067f6e5f1ef45e7882121519ed20dec1c41fc8a;hp=9fd72262b43348b32afd45d0fdeea75b44bcc56c;hpb=dc960f064bc8f7c7f76cd9db42b9aa38d94095ce;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/infrun.c b/gdb/infrun.c index 9fd72262b4..46b5e407af 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -3393,6 +3393,22 @@ infrun: BPSTAT_WHAT_SET_LONGJMP_RESUME (!gdbarch_get_longjmp_target)\n"); if (execution_direction == EXEC_REVERSE) { struct symtab_and_line sr_sal; + + if (ecs->stop_func_start == 0 + && in_solib_dynsym_resolve_code (stop_pc)) + { + /* Stepped into runtime loader dynamic symbol + resolution code. Since we're in reverse, + we have already backed up through the runtime + loader and the dynamic function. This is just + the trampoline (jump table). + + Just keep stepping, we'll soon be home. + */ + keep_going (ecs); + return; + } + /* Normal (staticly linked) function call return. */ init_sal (&sr_sal); sr_sal.pc = ecs->stop_func_start; insert_step_resume_breakpoint_at_sal (sr_sal, null_frame_id);