This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug cli/13115] New: cli doesn't expose set logging on/off in a wayusable with gdb.parameter
- From: "ratmice at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 19 Aug 2011 16:07:13 +0000
- Subject: [Bug cli/13115] New: cli doesn't expose set logging on/off in a wayusable with gdb.parameter
- Auto-submitted: auto-generated
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.