simon.marchi at ericsson dot com
2018-09-16 13:18:37 UTC
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.
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.
You are receiving this mail because:
You are on the CC list for the bug.