[pushed master+7.12 0/2] new-ui command: gdb internal errors if input is already pending
Pedro Alves
palves@redhat.com
Tue Sep 6 23:03:00 GMT 2016
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
More information about the Gdb-patches
mailing list