mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 14:39:09 +08:00
gdb/
PR backtrace/13716 * infcmd.c (finish_forward): New variable frame_id, initialize it, use it after set_momentary_breakpoint.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2012-02-23 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||||
|
|
||||||
|
PR backtrace/13716
|
||||||
|
* infcmd.c (finish_forward): New variable frame_id, initialize it, use
|
||||||
|
it after set_momentary_breakpoint.
|
||||||
|
|
||||||
2012-02-22 Sterling Augustine <saugustine@google.com>
|
2012-02-22 Sterling Augustine <saugustine@google.com>
|
||||||
|
|
||||||
PR 13689:
|
PR 13689:
|
||||||
|
@ -1636,6 +1636,7 @@ finish_backward (struct symbol *function)
|
|||||||
static void
|
static void
|
||||||
finish_forward (struct symbol *function, struct frame_info *frame)
|
finish_forward (struct symbol *function, struct frame_info *frame)
|
||||||
{
|
{
|
||||||
|
struct frame_id frame_id = get_frame_id (frame);
|
||||||
struct gdbarch *gdbarch = get_frame_arch (frame);
|
struct gdbarch *gdbarch = get_frame_arch (frame);
|
||||||
struct symtab_and_line sal;
|
struct symtab_and_line sal;
|
||||||
struct thread_info *tp = inferior_thread ();
|
struct thread_info *tp = inferior_thread ();
|
||||||
@ -1653,7 +1654,7 @@ finish_forward (struct symbol *function, struct frame_info *frame)
|
|||||||
|
|
||||||
old_chain = make_cleanup_delete_breakpoint (breakpoint);
|
old_chain = make_cleanup_delete_breakpoint (breakpoint);
|
||||||
|
|
||||||
set_longjmp_breakpoint (tp, get_frame_id (frame));
|
set_longjmp_breakpoint (tp, frame_id);
|
||||||
make_cleanup (delete_longjmp_breakpoint_cleanup, &thread);
|
make_cleanup (delete_longjmp_breakpoint_cleanup, &thread);
|
||||||
|
|
||||||
/* We want stop_registers, please... */
|
/* We want stop_registers, please... */
|
||||||
|
Reference in New Issue
Block a user