This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/20766] New: CLI hung after killing or detaching inferior from the new-ui mi
- From: "marc.khouzam at ericsson dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 03 Nov 2016 21:27:03 +0000
- Subject: [Bug gdb/20766] New: CLI hung after killing or detaching inferior from the new-ui mi
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=20766
Bug ID: 20766
Summary: CLI hung after killing or detaching inferior from the
new-ui mi
Product: gdb
Version: 7.12
Status: NEW
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: marc.khouzam at ericsson dot com
Target Milestone: ---
1- start gdb in CLI mode
2- start a new-ui MI
3- from the CLI, run synchronously (no &) a long running program
4- from the MI type kill
=> The CLI does not get the prompt back and ^C no longer works
A simple way to do all this:
1- run: gdb longRunningProgram -ex "new-ui mi /dev/pts/<yourPtsId>" -ex "run"
2- type kill on the MI
=> the CLI is not usable
The same problem happens if using 'detach' instead of 'kill'
--
You are receiving this mail because:
You are on the CC list for the bug.