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] fix thinko in pre/post hook help output


fyi, checked in as obvious (swap before/after).

2008-08-29  Doug Evans  <dje@google.com>

	* cli/cli-decode.c (help_cmd): Fix thinko in pre/post hook help output.

Index: cli/cli-decode.c
===================================================================
RCS file: /cvs/src/src/gdb/cli/cli-decode.c,v
retrieving revision 1.69
diff -u -p -u -p -r1.69 cli-decode.c
--- cli/cli-decode.c	30 Jul 2008 01:10:17 -0000	1.69
+++ cli/cli-decode.c	29 Aug 2008 23:48:28 -0000
@@ -797,12 +797,12 @@ help_cmd (char *command, struct ui_file 
                       "\nThis command has a hook (or hooks) defined:\n");
 
   if (c->hook_pre)
-    fprintf_filtered (stream, 
-                      "\tThis command is run after  : %s (pre hook)\n",
+    fprintf_filtered (stream,
+                      "\tThis command is run before : %s (pre hook)\n",
                     c->hook_pre->name);
   if (c->hook_post)
-    fprintf_filtered (stream, 
-                      "\tThis command is run before : %s (post hook)\n",
+    fprintf_filtered (stream,
+                      "\tThis command is run after  : %s (post hook)\n",
                     c->hook_post->name);
 }
 


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