[Bug python/23544] Segmentation fault when executing: python gdb.execute("interp mi '-break-list'")
tromey at sourceware dot org
sourceware-bugzilla@sourceware.org
Fri Aug 17 17:06:00 GMT 2018
https://sourceware.org/bugzilla/show_bug.cgi?id=23544
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-08-17
CC| |tromey at sourceware dot org
Ever confirmed|0 |1
--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
Thanks.
It's easy to fix this, but I'm finding it challenging to write a
test case, because two gdb prompts are printed and gdb_test doesn't
like that:
(gdb) python gdb.execute("interp mi -break-list")
^done,BreakpointTable={nr_rows="0",nr_cols="6",hdr=[{width="7",alignment="-1",col_name="number",colhdr="Num"},{width="14",alignment="-1",col_name="type",colhdr="Type"},{width="4",alignment="-1",col_name="disp",colhdr="Disp"},{width="3",alignment="-1",col_name="enabled",colhdr="Enb"},{width="10",alignment="-1",col_name="addr",colhdr="Address"},{width="40",alignment="2",col_name="what",colhdr="What"}],body=[]}
(gdb) (gdb)
^^^^^^^^^^^ this is bad
I am not sure what's going on there yet.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Gdb-prs
mailing list