projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix for PR gdb/209, PR gdb/156:
[deliverable/binutils-gdb.git]
/
gdb
/
cli
/
cli-setshow.c
diff --git
a/gdb/cli/cli-setshow.c
b/gdb/cli/cli-setshow.c
index bd3dd1a8c7bd5753df28bbd38b698de2ee26ba3f..3489fc059de821acc0c8241a89d4251b93ae47d0 100644
(file)
--- a/
gdb/cli/cli-setshow.c
+++ b/
gdb/cli/cli-setshow.c
@@
-267,6
+267,10
@@
do_setshow_command (char *arg, int from_tty, struct cmd_list_element *c)
old_chain = make_cleanup_ui_out_stream_delete (stb);
#endif /* UI_OUT */
+ /* Possibly call the pre hook. */
+ if (c->pre_show_hook)
+ (c->pre_show_hook) (c);
+
/* Print doc minus "show" at start. */
print_doc_line (gdb_stdout, c->doc + 5);
This page took
0.025652 seconds
and
4
git commands to generate.