public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [RESEND/PROPER PATCH 0/9] pagination/readline/async issues
@ 2014-07-03 15:19 Pedro Alves
  2014-07-03 15:19 ` [PATCH 3/9] Move catch_command_errors and catch_command_errors_const to main.c Pedro Alves
                   ` (9 more replies)
  0 siblings, 10 replies; 18+ messages in thread
From: Pedro Alves @ 2014-07-03 15:19 UTC (permalink / raw)
  To: gdb-patches

This series fixes PR gdb/17072 (a 7.8 blocker) and other related
issues I stumbled on while fixing it and writing tests.

Some of these fixes are conservative as this is intended for the 7.8
branch as well.

Tested on x86_64 Fedora 20, native and gdbserver.

Comments?

Pedro Alves (9):
  Put the inferior's terminal settings in effect while running (fg)
    infcalls
  Eliminate exceptions.c:print_any_exception.
  Move catch_command_errors and catch_command_errors_const to main.c
  testsuite: Introduce gdb_assert
  Canceling pagination caused by execution command from command line
    aborts readline/gdb
  Background execution + pagination aborts readline/gdb
  Remove the target from the event loop while in secondary prompts
  Fix double prompt
  Put GDB's terminal settings into effect when paginating.

 gdb/exceptions.c                                   |  54 +------
 gdb/exceptions.h                                   |  13 --
 gdb/inf-loop.c                                     |  36 ++---
 gdb/infcall.c                                      |   7 +
 gdb/main.c                                         |  58 +++++++
 .../gdb.base/double-prompt-target-event-error.c    |  23 +++
 .../gdb.base/double-prompt-target-event-error.exp  | 108 +++++++++++++
 gdb/testsuite/gdb.base/execution-termios.c         |  35 +++++
 gdb/testsuite/gdb.base/execution-termios.exp       |  60 +++++++
 .../gdb.base/paginate-after-ctrl-c-running.c       |  23 +++
 .../gdb.base/paginate-after-ctrl-c-running.exp     |  80 ++++++++++
 gdb/testsuite/gdb.base/paginate-bg-execution.c     |  30 ++++
 gdb/testsuite/gdb.base/paginate-bg-execution.exp   | 121 ++++++++++++++
 .../gdb.base/paginate-execution-startup.c          |  30 ++++
 .../gdb.base/paginate-execution-startup.exp        | 175 +++++++++++++++++++++
 gdb/testsuite/gdb.base/paginate-inferior-exit.c    |  30 ++++
 gdb/testsuite/gdb.base/paginate-inferior-exit.exp  |  82 ++++++++++
 gdb/testsuite/gdb.trace/backtrace.exp              |   7 +-
 gdb/testsuite/lib/gdb.exp                          |  82 ++++++++--
 gdb/top.c                                          |  21 ++-
 gdb/utils.c                                        |   4 +
 21 files changed, 977 insertions(+), 102 deletions(-)
 create mode 100644 gdb/testsuite/gdb.base/double-prompt-target-event-error.c
 create mode 100644 gdb/testsuite/gdb.base/double-prompt-target-event-error.exp
 create mode 100644 gdb/testsuite/gdb.base/execution-termios.c
 create mode 100644 gdb/testsuite/gdb.base/execution-termios.exp
 create mode 100644 gdb/testsuite/gdb.base/paginate-after-ctrl-c-running.c
 create mode 100644 gdb/testsuite/gdb.base/paginate-after-ctrl-c-running.exp
 create mode 100644 gdb/testsuite/gdb.base/paginate-bg-execution.c
 create mode 100644 gdb/testsuite/gdb.base/paginate-bg-execution.exp
 create mode 100644 gdb/testsuite/gdb.base/paginate-execution-startup.c
 create mode 100644 gdb/testsuite/gdb.base/paginate-execution-startup.exp
 create mode 100644 gdb/testsuite/gdb.base/paginate-inferior-exit.c
 create mode 100644 gdb/testsuite/gdb.base/paginate-inferior-exit.exp

-- 
1.9.3

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2014-09-13  0:05 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-03 15:19 [RESEND/PROPER PATCH 0/9] pagination/readline/async issues Pedro Alves
2014-07-03 15:19 ` [PATCH 3/9] Move catch_command_errors and catch_command_errors_const to main.c Pedro Alves
2014-07-03 15:19 ` [PATCH 9/9] Put GDB's terminal settings into effect when paginating Pedro Alves
2014-07-03 15:19 ` [PATCH 6/9] Background execution + pagination aborts readline/gdb Pedro Alves
2014-09-13  0:05   ` Sergio Durigan Junior
2014-07-03 15:19 ` [PATCH 1/9] Put the inferior's terminal settings in effect while running (fg) infcalls Pedro Alves
2014-07-03 15:19 ` [PATCH 8/9] Fix double prompt Pedro Alves
2014-07-03 15:19 ` [PATCH 5/9] Canceling pagination caused by execution command from command line aborts readline/gdb Pedro Alves
2014-07-04  6:11   ` Yao Qi
2014-07-09 16:45     ` Pedro Alves
2014-07-10  9:26       ` Yao Qi
2014-07-03 15:19 ` [PATCH 2/9] Eliminate exceptions.c:print_any_exception Pedro Alves
2014-07-03 20:38   ` Tom Tromey
2014-07-03 15:27 ` [PATCH 4/9] testsuite: Introduce gdb_assert Pedro Alves
2014-07-03 20:41   ` Tom Tromey
2014-07-03 15:31 ` [RESEND/PROPER PATCH 0/9] pagination/readline/async issues Pedro Alves
2014-07-14 22:38   ` Pedro Alves
2014-07-03 15:40 ` [PATCH 7/9] Remove the target from the event loop while in secondary prompts Pedro Alves

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).