diff options
author | Michael Snyder <msnyder@vmware.com> | 2008-06-10 00:13:15 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2008-06-10 00:13:15 +0000 |
commit | da33b5bf66650ddadd113bbe6eeed1ed5da37b25 (patch) | |
tree | 26ee102218c4a0e9ac6464509bdd8f4a2ec11c41 /gdb/infcall.c | |
parent | 7a77c2d31f4ba76492b1d1ecb88fcd4a0387bbc5 (diff) | |
download | binutils-drow-reverse-20070409-branch.zip binutils-drow-reverse-20070409-branch.tar.gz binutils-drow-reverse-20070409-branch.tar.bz2 |
Daniel Jacobowitz' update to Michael Snyder's reverse debugging patchesdrow-reverse-20070409-branch
Diffstat (limited to 'gdb/infcall.c')
-rw-r--r-- | gdb/infcall.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gdb/infcall.c b/gdb/infcall.c index c4435e5..80144cc 100644 --- a/gdb/infcall.c +++ b/gdb/infcall.c @@ -780,7 +780,7 @@ You must use a pointer to function type variable. Command ignored."), arg_name); signal. Further execution of the FUNCTION is not allowed. */ - if (unwind_on_signal_p) + if (unwind_on_signal_p || 1 /* FIXME restoring state */) { /* The user wants the context restored. */ @@ -819,6 +819,12 @@ Evaluation of the expression containing the function (%s) will be abandoned."), } } + if (!stop_stack_dummy && 1 /* FIXME restoring state */) + { + error (_("\ +The program being debugged stopped while in a function called from GDB.\n\ +GDB has restored the context to what it was before the call.")); + } if (!stop_stack_dummy) { /* We hit a breakpoint inside the FUNCTION. */ |