aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2011-05-26 18:23:32 +0000
committerPedro Alves <palves@redhat.com>2011-05-26 18:23:32 +0000
commitd8b344530cba74a754ec101ccdd8869b3a48ec90 (patch)
treedc20a0ff8d93fc103aeaac00750dd2441f8de255 /gdb/mi
parent3ddcae71bb5390c67dcd033fdd0267b9f7aa38ad (diff)
downloadgdb-d8b344530cba74a754ec101ccdd8869b3a48ec90.zip
gdb-d8b344530cba74a754ec101ccdd8869b3a48ec90.tar.gz
gdb-d8b344530cba74a754ec101ccdd8869b3a48ec90.tar.bz2
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/mi')
-rw-r--r--gdb/mi/mi-main.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c
index 4d1e3f9..ca62a30 100644
--- a/gdb/mi/mi-main.c
+++ b/gdb/mi/mi-main.c
@@ -285,9 +285,6 @@ exec_reverse_continue (char **argv, int argc)
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."));