summaryrefslogtreecommitdiff
path: root/gdb/reverse.c
diff options
context:
space:
mode:
authorPedro Alves <pedro@codesourcery.com>2011-05-26 18:23:31 +0000
committerPedro Alves <pedro@codesourcery.com>2011-05-26 18:23:31 +0000
commit24c0ac3a5da34fbcb31b5dd5d55723de7ffe57a8 (patch)
treefd91d68335cc2299aaef5f93b10283f07735d7b0 /gdb/reverse.c
parentb25d1792d6f246dd4675e64c2d5c051c0ed03811 (diff)
downloadgdb-24c0ac3a5da34fbcb31b5dd5d55723de7ffe57a8.tar.gz
2011-05-26 Pedro Alves <pedro@codesourcery.com>
gdb/ * inferior.h (enum exec_direction_kind): Delete EXEC_ERROR. * infrun.c (show_exec_direction_func): Don't handle EXEC_ERROR. Internal error on invalid values. * reverse.c: Don't handle EXEC_ERROR. * mi/mi-main.c: Don't handle EXEC_ERROR.
Diffstat (limited to 'gdb/reverse.c')
-rw-r--r--gdb/reverse.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/reverse.c b/gdb/reverse.c
index 61f2e7c50b8..b44c0d1f022 100644
--- a/gdb/reverse.c
+++ b/gdb/reverse.c
@@ -50,9 +50,6 @@ exec_reverse_once (char *cmd, char *args, int from_tty)
enum exec_direction_kind dir = execution_direction;
struct cleanup *old_chain;
- if (dir == EXEC_ERROR)
- error (_("Target %s does not support this command."), target_shortname);
-
if (dir == EXEC_REVERSE)
error (_("Already in reverse mode. Use '%s' or 'set exec-dir forward'."),
cmd);