This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug cli/15047] New: set/show commands ignore their class
- From: "jan.kratochvil at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 21 Jan 2013 21:39:03 +0000
- Subject: [Bug cli/15047] New: set/show commands ignore their class
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=15047
Bug #: 15047
Summary: set/show commands ignore their class
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: cli
AssignedTo: unassigned@sourceware.org
ReportedBy: jan.kratochvil@redhat.com
Classification: Unclassified
There is:
add_setshow_enum_cmd ("target-file-system-kind",
class_files,
But it is displayed under class_vars:
(gdb) help data
set target-file-system-kind -- Set assumed file system kind [...]
While this class_files command does not display it at all:
(gdb) help files
"help data" is class_vars:
add_cmd ("data", class_vars, NULL, _("Examining data."), &cmdlist);
I guess it happens because:
add_prefix_cmd ("set", class_vars, ...); "data" is class_vars:
But that seems as a Bug to me.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.