This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[pushed master+7.12 0/2] new-ui command: gdb internal errors if input is already pending
- From: Pedro Alves <palves at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Wed, 7 Sep 2016 00:03:22 +0100
- Subject: [pushed master+7.12 0/2] new-ui command: gdb internal errors if input is already pending
- Authentication-results: sourceware.org; auth=none
This series fixes a bug I tripped on while playing with the new-ui
command. The real fix is in patch #2. Patch #1 is just a small
cleanup.
I've pushed them both to master and the 7.12 branch.
Pedro Alves (2):
Introduce make_cleanup_restore_current_ui
new-ui command: gdb internal errors if input is already pending
gdb/ChangeLog | 17 ++++
gdb/testsuite/ChangeLog | 9 ++
gdb/event-top.c | 14 ++-
gdb/infcall.c | 2 +-
gdb/infrun.c | 2 +-
gdb/testsuite/gdb.base/new-ui-pending-input.c | 26 +++++
gdb/testsuite/gdb.base/new-ui-pending-input.exp | 123 ++++++++++++++++++++++++
gdb/testsuite/lib/gdb.exp | 22 ++++-
gdb/top.c | 13 ++-
gdb/top.h | 4 +-
10 files changed, 221 insertions(+), 11 deletions(-)
create mode 100644 gdb/testsuite/gdb.base/new-ui-pending-input.c
create mode 100644 gdb/testsuite/gdb.base/new-ui-pending-input.exp
--
2.5.5