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/elfread.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/elfread.c')
-rw-r--r-- | gdb/elfread.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/elfread.c b/gdb/elfread.c index f8ed10e..9f8a7e8 100644 --- a/gdb/elfread.c +++ b/gdb/elfread.c @@ -995,6 +995,9 @@ elf_gnu_ifunc_resolver_stop (struct breakpoint *b) prev_frame_id, bp_gnu_ifunc_resolver_return); + /* set_momentary_breakpoint invalidates PREV_FRAME. */ + prev_frame = NULL; + /* Add new b_return to the ring list b->related_breakpoint. */ gdb_assert (b_return->related_breakpoint == b_return); b_return->related_breakpoint = b->related_breakpoint; |