summaryrefslogtreecommitdiff
path: root/gdb/cli
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2006-11-14 21:40:19 +0000
committerDaniel Jacobowitz <dan@debian.org>2006-11-14 21:40:19 +0000
commit9180f0b8c0c1ec191f3a849f814336aa36e77990 (patch)
tree5f2c926b53a9f7f407d0ab4ca297838f2a97be8a /gdb/cli
parentda32bcb1260f39d05739fa045395f324320b96a7 (diff)
downloadgdb-9180f0b8c0c1ec191f3a849f814336aa36e77990.tar.gz
gdb/
* remote.c (set_remote_cmd): Call help_list. (show_remote_cmd): Skip legacy aliases. Handle non-show_cmd entries. Add missed cleanup. * cli/cli-setshow.c (cmd_show_list): Handle non-show_cmd entries. gdb/doc/ * gdb.texinfo (Remote configuration): Rewrite documentation for packet configuration commands. (OS Information): Adjust reference to qXfer:auxv:read. (General Query Packets): Remove references to read-aux-vector-packet and set remote get-thread-local-storage-address.
Diffstat (limited to 'gdb/cli')
-rw-r--r--gdb/cli/cli-setshow.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/gdb/cli/cli-setshow.c b/gdb/cli/cli-setshow.c
index ac8bdb7ad94..c63c1831db7 100644
--- a/gdb/cli/cli-setshow.c
+++ b/gdb/cli/cli-setshow.c
@@ -405,14 +405,17 @@ cmd_show_list (struct cmd_list_element *list, int from_tty, char *prefix)
/* Close the tuple. */
do_cleanups (optionlist_chain);
}
- if (list->type == show_cmd)
+ else
{
struct cleanup *option_chain
= make_cleanup_ui_out_tuple_begin_end (uiout, "option");
ui_out_text (uiout, prefix);
ui_out_field_string (uiout, "name", list->name);
ui_out_text (uiout, ": ");
- do_setshow_command ((char *) NULL, from_tty, list);
+ if (list->type == show_cmd)
+ do_setshow_command ((char *) NULL, from_tty, list);
+ else
+ cmd_func (list, NULL, from_tty);
/* Close the tuple. */
do_cleanups (option_chain);
}