This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH reverse] revised output of show_exec_direction_func
- From: Michael Snyder <msnyder at vmware dot com>
- To: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>, Eli Zaretskii <eliz at gnu dot org>, teawater <teawater at gmail dot com>
- Date: Sat, 04 Oct 2008 11:47:39 -0700
- Subject: [PATCH reverse] revised output of show_exec_direction_func
Following review, committed to branch only.
2008-10-04 Michael Snyder <msnyder@vmware.com>
* reverse.c (show_exec_direction_func): Don't error, just inform.
Index: reverse.c
===================================================================
RCS file: /cvs/src/src/gdb/Attic/reverse.c,v
retrieving revision 1.1.8.1
diff -u -p -r1.1.8.1 reverse.c
--- reverse.c 18 Jul 2008 04:23:49 -0000 1.1.8.1
+++ reverse.c 4 Oct 2008 18:45:44 -0000
@@ -74,8 +74,9 @@ show_exec_direction_func (struct ui_file
break;
case EXEC_ERROR:
default:
- error (_("Target `%s' does not support execution-direction."),
- target_shortname);
+ fprintf_filtered (out,
+ "Forward (target `%s' does not support exec-direction).\n",
+ target_shortname);
break;
}
}