This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/20418] New: Problems with synchronous commands and new-ui
- From: "simon.marchi at ericsson dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 27 Jul 2016 20:45:40 +0000
- Subject: [Bug gdb/20418] New: Problems with synchronous commands and new-ui
- Auto-submitted: auto-generated
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.