public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug cli/15047] New: set/show commands ignore their class
@ 2013-01-21 21:39 jan.kratochvil at redhat dot com
  0 siblings, 0 replies; only message in thread
From: jan.kratochvil at redhat dot com @ 2013-01-21 21:39 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-01-21 21:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-21 21:39 [Bug cli/15047] New: set/show commands ignore their class jan.kratochvil at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).