This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/19318] New: "kill inferior N" and "detach inferior N" commands shouldn't switch to inferior N
- From: "palves at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 01 Dec 2015 11:21:19 +0000
- Subject: [Bug gdb/19318] New: "kill inferior N" and "detach inferior N" commands shouldn't switch to inferior N
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=19318
Bug ID: 19318
Summary: "kill inferior N" and "detach inferior N" commands
shouldn't switch to inferior N
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: palves at redhat dot com
Target Milestone: ---
This looks surprising:
(gdb) info inferiors
Num Description Executable
* 1 process 1662 foo
2 process 1671 bar
(gdb) detach inferior 2
Detaching from program: foo, process 1671
(gdb) info inferiors
Num Description Executable
1 process 1662 foo
* 2 <null> bar
(gdb)
I'd probably be more user friendly to stay with inferior 1 selected.
--
You are receiving this mail because:
You are on the CC list for the bug.