gdb/
* infcall.c (call_function_by_hand): Don't allow calling functions
in reverse execution mode.
+2011-05-26 Pedro Alves <pedro@codesourcery.com>
+
+ * infcall.c (call_function_by_hand): Don't allow calling functions
+ in reverse execution mode.
+
2011-05-26 Pedro Alves <pedro@codesourcery.com>
* infcmd.c (finish_command): Allow async finish in reverse.
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);