diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-02-29 14:52:40 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-02-29 14:52:40 +0000 |
commit | 090cdae71eb2221fe6ae2f79178152deb033f61a (patch) | |
tree | 9f6e37a82265343af56bb51ddac1194edf64e1fd /gdb/infcmd.c | |
parent | 8523da3398612541899fd1c66bcb928d940a92f8 (diff) | |
download | gdb-090cdae71eb2221fe6ae2f79178152deb033f61a.tar.gz |
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/infcmd.c')
-rw-r--r-- | gdb/infcmd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c index 8dfa4fdf944..06def78e80c 100644 --- a/gdb/infcmd.c +++ b/gdb/infcmd.c @@ -1652,6 +1652,9 @@ finish_forward (struct symbol *function, struct frame_info *frame) get_stack_frame_id (frame), bp_finish); + /* set_momentary_breakpoint invalidates FRAME. */ + frame = NULL; + old_chain = make_cleanup_delete_breakpoint (breakpoint); set_longjmp_breakpoint (tp, frame_id); |