diff options
Diffstat (limited to 'gdb/infcall.c')
-rw-r--r-- | gdb/infcall.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/infcall.c b/gdb/infcall.c index 3f9c871..4063b7f 100644 --- a/gdb/infcall.c +++ b/gdb/infcall.c @@ -495,6 +495,9 @@ call_function_by_hand (struct value *function, int nargs, struct value **args) if (get_traceframe_number () >= 0) error (_("May not call functions while looking at trace frames.")); + if (execution_direction == EXEC_REVERSE) + error (_("May not call functions in reverse.")); + frame = get_current_frame (); gdbarch = get_frame_arch (frame); |