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/13115] New: cli doesn't expose set logging on/off in a wayusable with gdb.parameter


http://sourceware.org/bugzilla/show_bug.cgi?id=13115

             Bug #: 13115
           Summary: cli doesn't expose set logging on/off in a way usable
                    with gdb.parameter
           Product: gdb
           Version: unknown
            Status: NEW
          Severity: normal
          Priority: P2
         Component: cli
        AssignedTo: unassigned@sourceware.org
        ReportedBy: ratmice@gmail.com
    Classification: Unclassified


(gdb) python gdb.parameter("logging on")
Traceback (most recent call last):
  File "<string>", line 1, in <module>
RuntimeError: Could not find parameter `logging on'.
Error while executing Python code.
(gdb) python gdb.parameter("logging off")
Traceback (most recent call last):
  File "<string>", line 1, in <module>
RuntimeError: Could not find parameter `logging off'.
Error while executing Python code.

I believe because on/off use: add_cmd
rather than: add_setshow_boolean_cmd

-- 
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]