From: Doug Evans Date: Fri, 29 Aug 2008 23:52:34 +0000 (+0000) Subject: * cli/cli-decode.c (help_cmd): Fix thinko in pre/post hook help output. X-Git-Tag: binutils-2_19-branchpoint~67 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=327529e927a831969a14c6056ab457536993aad4;p=thirdparty%2Fbinutils-gdb.git * cli/cli-decode.c (help_cmd): Fix thinko in pre/post hook help output. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 10ffe85a2f5..d3feea3de4f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2008-08-29 Doug Evans + + * cli/cli-decode.c (help_cmd): Fix thinko in pre/post hook help output. + 2008-08-29 Tom Tromey * maint.c (_initialize_maint_cmds): Fix typo. diff --git a/gdb/cli/cli-decode.c b/gdb/cli/cli-decode.c index 5b1a7e08581..0889040ae99 100644 --- a/gdb/cli/cli-decode.c +++ b/gdb/cli/cli-decode.c @@ -797,12 +797,12 @@ help_cmd (char *command, struct ui_file *stream) "\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); } @@ -1673,5 +1673,3 @@ cmd_func (struct cmd_list_element *cmd, char *args, int from_tty) else error (_("Invalid command")); } - -