This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/19318] New: "kill inferior N" and "detach inferior N" commands shouldn't switch to inferior N


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]