This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug mi/22999] New: 'set debug lin-lwp 1' is broken with MI
- From: "simon.marchi at ericsson dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Sat, 24 Mar 2018 18:35:46 +0000
- Subject: [Bug mi/22999] New: 'set debug lin-lwp 1' is broken with MI
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=22999
Bug ID: 22999
Summary: 'set debug lin-lwp 1' is broken with MI
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: mi
Assignee: unassigned at sourceware dot org
Reporter: simon.marchi at ericsson dot com
Target Milestone: ---
As reported here:
https://sourceware.org/ml/gdb/2018-03/msg00032.html
This crashes:
gdb -ex "set debug lin-lwp 1" -ex start program
Our sigchld_handler wants to write some debug output using
ui_file::write_async_safe, but mi_console_file doesn't implement that method,
so it reaches the default implementation:
virtual void write_async_safe (const char *buf, long length_buf)
{ gdb_assert_not_reached ("write_async_safe"); }
--
You are receiving this mail because:
You are on the CC list for the bug.