This is the mail archive of the gdb-patches@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]

[pushed master+7.12 0/2] new-ui command: gdb internal errors if input is already pending


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


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