diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2012-02-27 21:36:47 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@linux-mips.org> | 2012-02-27 21:36:47 +0000 |
commit | 473347adb38b22170f1f0fb2a39c9c47ccf8164e (patch) | |
tree | c946909c40a877aa5353911fb4a4a15f87d5c5d9 /gdb/infrun.c | |
parent | cf23330326fd053b4458a805bc2033d9a53baddd (diff) | |
download | binutils-gdb-473347adb38b22170f1f0fb2a39c9c47ccf8164e.tar.gz |
* infrun.c (handle_inferior_event): Don't proceed through
shared library trampolines if stepping at the machine
instruction level.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r-- | gdb/infrun.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c index 1b2da67fff3..89f9362bec1 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -5008,7 +5008,8 @@ process_event_stop_test: /* If we're in the return path from a shared library trampoline, we want to proceed through the trampoline when stepping. */ if (gdbarch_in_solib_return_trampoline (gdbarch, - stop_pc, ecs->stop_func_name)) + stop_pc, ecs->stop_func_name) + && ecs->event_thread->control.step_over_calls != STEP_OVER_NONE) { /* Determine where this trampoline returns. */ CORE_ADDR real_stop_pc; |