From: Michael Snyder Date: Tue, 31 Aug 2010 19:31:00 +0000 (+0000) Subject: 2010-08-31 Michael Snyder X-Git-Tag: sid-snapshot-20100901~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8bbed40521ffa3852a201d249162567ee6d5b8ec;p=platform%2Fupstream%2Fbinutils.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 8f61441..1febb54 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-31 Jan Kratochvil Make linux_get_siginfo_type `type *' unique. diff --git a/gdb/infrun.c b/gdb/infrun.c index dd89e78..8b1f82a 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -6437,6 +6437,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