This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug cli/15047] New: set/show commands ignore their class


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]