[Bug gdb/20418] New: Problems with synchronous commands and new-ui

simon.marchi at ericsson dot com sourceware-bugzilla@sourceware.org
Wed Jul 27 20:45:00 GMT 2016


https://sourceware.org/bugzilla/show_bug.cgi?id=20418

            Bug ID: 20418
           Summary: Problems with synchronous commands and new-ui
           Product: gdb
           Version: HEAD
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: simon.marchi at ericsson dot com
  Target Milestone: ---

When executing commands on an external UI, some commands that should be
synchronous are not.

Simple test program:

int main() {
    for (;;);
}


On shell #1:

$ ./gdb -nx ~/test
(gdb) new-ui mi /dev/pts/X
(gdb)

On shell #2:

$ sleep 9999999
... output from gdb ...
-exec-run
... output from "-exec-run" ...
help
... output from "help" ...

Here, we should not be able to type "help" and get the output, since the
interpreter should be synchronously executing -exec-run.  Doing the same with
"native" mi works correctly.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Gdb-prs mailing list