diff options
author | Pedro Alves <palves@redhat.com> | 2011-05-26 18:23:32 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2011-05-26 18:23:32 +0000 |
commit | d8b344530cba74a754ec101ccdd8869b3a48ec90 (patch) | |
tree | dc20a0ff8d93fc103aeaac00750dd2441f8de255 /gdb/reverse.c | |
parent | 3ddcae71bb5390c67dcd033fdd0267b9f7aa38ad (diff) | |
download | gdb-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/reverse.c')
-rw-r--r-- | gdb/reverse.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/reverse.c b/gdb/reverse.c index 61f2e7c..b44c0d1 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); |