mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
PR backtrace/13866
* infrun.c (handle_inferior_event): Re-fetch frame and gdbarch after hiding inline functions.
This commit is contained in:
parent
0b1554650e
commit
1c5a993ebd
@ -1,3 +1,9 @@
|
||||
2012-06-14 Maciej W. Rozycki <macro@codesourcery.com>
|
||||
|
||||
PR backtrace/13866
|
||||
* infrun.c (handle_inferior_event): Re-fetch frame and gdbarch
|
||||
after hiding inline functions.
|
||||
|
||||
2012-06-13 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* inf-ttrace.c (_initialize_hppa_hpux_nat): Rename into
|
||||
|
@ -4074,7 +4074,14 @@ handle_inferior_event (struct execution_control_state *ecs)
|
||||
&& pc_at_non_inline_function (aspace,
|
||||
ecs->event_thread->prev_pc,
|
||||
&ecs->ws)))
|
||||
skip_inline_frames (ecs->ptid);
|
||||
{
|
||||
skip_inline_frames (ecs->ptid);
|
||||
|
||||
/* Re-fetch current thread's frame in case that invalidated
|
||||
the frame cache. */
|
||||
frame = get_current_frame ();
|
||||
gdbarch = get_frame_arch (frame);
|
||||
}
|
||||
}
|
||||
|
||||
if (ecs->event_thread->suspend.stop_signal == GDB_SIGNAL_TRAP
|
||||
|
Loading…
Reference in New Issue
Block a user