This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
gdb/434: add_set_cmd() + add_show_from_set() -> add_setshow_cmd()
- From: ac131313 at redhat dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 19 Mar 2002 02:30:07 -0000
- Subject: gdb/434: add_set_cmd() + add_show_from_set() -> add_setshow_cmd()
- Reply-to: ac131313 at redhat dot com
>Number: 434
>Category: gdb
>Synopsis: add_set_cmd() + add_show_from_set() -> add_setshow_cmd()
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Mar 18 18:38:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: ac131313@redhat.com
>Release: unknown-1.0
>Organization:
>Environment:
>Description:
Per discussion between AndrewC and FernandoN.
The add_set_cmd() and add_show_from_set() functions can be compined into a single function:
setcmd = add_setshow_cmd(name, var, vartype, ..., **showcmd);
Where, if ``**showcmd'' is non-NULL, gets the show command from the pair.
The old commands should be ARI added to the (info or warning?). Other commands - add_set_boolean et.al. can all go the same way.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: