diff options
author | Daniel Jacobowitz <drow@false.org> | 2006-11-14 21:40:19 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2006-11-14 21:40:19 +0000 |
commit | 427c3a89d32cedc331b0bf9a3ecb74716f123276 (patch) | |
tree | 802a9df10e07d13a45a4d70720ece2f99a89835c /gdb/cli | |
parent | dbe717effbdf31236088837f4686fd5ad5e71893 (diff) | |
download | gdb-427c3a89d32cedc331b0bf9a3ecb74716f123276.zip gdb-427c3a89d32cedc331b0bf9a3ecb74716f123276.tar.gz gdb-427c3a89d32cedc331b0bf9a3ecb74716f123276.tar.bz2 |
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.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gdb/cli/cli-setshow.c b/gdb/cli/cli-setshow.c index ac8bdb7..c63c183 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); } |