diff options
Diffstat (limited to 'gdb/infcall.c')
-rw-r--r-- | gdb/infcall.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/infcall.c b/gdb/infcall.c index 9af56ba..6c250e3 100644 --- a/gdb/infcall.c +++ b/gdb/infcall.c @@ -783,6 +783,10 @@ call_function_by_hand (struct value *function, int nargs, struct value **args) PUSH_DUMMY_CALL, saved as the dummy-frame TOS, and used by dummy_id to form the frame ID's stack address. */ bpt = set_momentary_breakpoint (gdbarch, sal, dummy_id, bp_call_dummy); + + /* set_momentary_breakpoint invalidates FRAME. */ + frame = NULL; + bpt->disposition = disp_del; } |