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/arm-linux-tdep.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/arm-linux-tdep.c')
-rw-r--r-- | gdb/arm-linux-tdep.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/arm-linux-tdep.c b/gdb/arm-linux-tdep.c index ac4860c..e41205b 100644 --- a/gdb/arm-linux-tdep.c +++ b/gdb/arm-linux-tdep.c @@ -937,6 +937,9 @@ arm_linux_copy_svc (struct gdbarch *gdbarch, struct regcache *regs, = set_momentary_breakpoint (gdbarch, sal, get_frame_id (frame), bp_step_resume); + /* set_momentary_breakpoint invalidates FRAME. */ + frame = NULL; + /* We need to make sure we actually insert the momentary breakpoint set above. */ insert_breakpoints (); |