Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: dje@google.com (Doug Evans)
To: gdb-patches@sourceware.org
Subject: [PATCH] fix thinko in pre/post hook help output
Date: Fri, 29 Aug 2008 23:56:00 -0000	[thread overview]
Message-ID: <20080829235547.5279D1C7801@localhost> (raw)

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


             reply	other threads:[~2008-08-29 23:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-29 23:56 Doug Evans [this message]
2008-08-30  0:18 ` Pedro Alves
2008-08-30  1:56   ` Doug Evans
2008-08-30 15:05     ` Pedro Alves

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080829235547.5279D1C7801@localhost \
    --to=dje@google.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox