This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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;
   }
 }

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]