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/20418] New: Problems with synchronous commands and new-ui


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.

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