diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-02-29 14:52:44 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-02-29 14:52:44 +0000 |
commit | c70a6932bbfed97f2ab40953daee470b42b81543 (patch) | |
tree | f1b6158934bf4ba77f30d4534788336ec0e7094a /gdb/infrun.c | |
parent | c03e6ccce295e35596e428f926e4422b06363b96 (diff) | |
download | gdb-c70a6932bbfed97f2ab40953daee470b42b81543.zip gdb-c70a6932bbfed97f2ab40953daee470b42b81543.tar.gz gdb-c70a6932bbfed97f2ab40953daee470b42b81543.tar.bz2 |
gdb/
* arm-linux-tdep.c (arm_linux_copy_svc): Reset stale FRAME.
* breakpoint.c (until_break_command): Likewise.
* elfread.c (elf_gnu_ifunc_resolver_stop): Likewise.
* infcall.c (call_function_by_hand): Likewise.
* infcmd.c (finish_forward): Likewise.
* infrun.c (insert_exception_resume_breakpoint): Likewise.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r-- | gdb/infrun.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c index 89f9362..81d1e5c 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -5520,6 +5520,10 @@ insert_exception_resume_breakpoint (struct thread_info *tp, bp = set_momentary_breakpoint_at_pc (get_frame_arch (frame), handler, bp_exception_resume); + + /* set_momentary_breakpoint_at_pc invalidates FRAME. */ + frame = NULL; + bp->thread = tp->num; inferior_thread ()->control.exception_resume_breakpoint = bp; } |