aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli/cli-decode.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2008-08-29 23:52:34 +0000
committerDoug Evans <dje@google.com>2008-08-29 23:52:34 +0000
commit327529e927a831969a14c6056ab457536993aad4 (patch)
treeca007f35ef2f0b02cecec97a9de7817042b6bc89 /gdb/cli/cli-decode.c
parentef4cb050f66dc9dbdb0431855b7e532409b8c589 (diff)
downloadgdb-327529e927a831969a14c6056ab457536993aad4.zip
gdb-327529e927a831969a14c6056ab457536993aad4.tar.gz
gdb-327529e927a831969a14c6056ab457536993aad4.tar.bz2
* cli/cli-decode.c (help_cmd): Fix thinko in pre/post hook help output.
Diffstat (limited to 'gdb/cli/cli-decode.c')
-rw-r--r--gdb/cli/cli-decode.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/gdb/cli/cli-decode.c b/gdb/cli/cli-decode.c
index 5b1a7e0..0889040 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"));
}
-
-