This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/23669] New: gdb.execute("show commands") doesn't work
- From: "simon.marchi at ericsson dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Sun, 16 Sep 2018 13:18:37 +0000
- Subject: [Bug python/23669] New: gdb.execute("show commands") doesn't work
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=23669
Bug ID: 23669
Summary: gdb.execute("show commands") doesn't work
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: python
Assignee: unassigned at sourceware dot org
Reporter: simon.marchi at ericsson dot com
Target Milestone: ---
With gdb 8.2:
This command:
(gdb) show commands
32 commands
33 commands
34 python gdb.execute("show commands")
35 python gdb.execute("show version")
36 python gdb.execute("show version")
37 python gdb.execute("show commands")
38 python gdb.execute("show commands")
39 help
40 show commands
41 show commands
When executed with gdb.execute, doesn't work:
(gdb) python gdb.execute("show commands")
warning: bad breakpoint number at or near '0'
GDB appears to try to run the "commands" command and complain about the lack of
breakpoint number. With GDB master, it still tries to invoke the "commands"
command, but the output is silent.
--
You are receiving this mail because:
You are on the CC list for the bug.