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/20766] New: CLI hung after killing or detaching inferior from the new-ui mi


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.

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