From: Michael Snyder Date: Tue, 31 Aug 2010 19:31:23 +0000 (+0000) Subject: 2010-08-31 Michael Snyder X-Git-Tag: gdb_7_2-2010-09-02-release~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=901d16db7aef5188be2c65c4ef60d9e44021843c;p=thirdparty%2Fbinutils-gdb.git 2010-08-31 Michael Snyder * infrun.c (set_exec_direction_func): Error out if target does not support reverse execution. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7ef285394e5..96b61826bf4 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2010-08-31 Michael Snyder + + * infrun.c (set_exec_direction_func): Error out if target does not + support reverse execution. + 2010-08-30 Yao Qi * arm-linux-tdep.c (arm_linux_sigreturn_return_addr): New. diff --git a/gdb/infrun.c b/gdb/infrun.c index 57f2ab810dc..54b1d9f1f74 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -6436,6 +6436,11 @@ set_exec_direction_func (char *args, int from_tty, else if (!strcmp (exec_direction, exec_reverse)) execution_direction = EXEC_REVERSE; } + else + { + exec_direction = exec_forward; + error (_("Target does not support this operation.")); + } } static void