public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 00/10] Command line input handling TLC
@ 2016-02-18 17:40 Pedro Alves
  2016-02-18 17:40 ` [PATCH 07/10] Use struct buffer in gdb_readline_no_editing Pedro Alves
                   ` (12 more replies)
  0 siblings, 13 replies; 32+ messages in thread
From: Pedro Alves @ 2016-02-18 17:40 UTC (permalink / raw)
  To: gdb-patches

I looked a bit at changing immediate_quit users in order to get rid of
throws from signal handlers, for the C++ conversion, and ended up
stumbling on gdb's input code...

So today I split this patch:

  [PATCH 02/23] Command line input handling TLC
  https://sourceware.org/ml/gdb-patches/2016-02/msg00070.html

into smaller pieces.  I think this can go in independently of the rest
of that series.

The original motivation here was factor out all the globals used by
the command line input handling code to a structure, so that we can
keep multiple instances of that later on.  But, I found that this code
is a lot more messier than it needs to be, thus this series cleans
things up significantly in the process as well.

I tried to split the last patch further into smaller independent
pieces, but failed...

Pedro Alves (10):
  Test issuing a command split in multiple lines with continuation chars
  Garbage collect window_hook
  gdb_readline2 -> gdb_readline_callback_no_editing
  Eliminate async_annotation_suffix
  Update prompt_for_continue comments
  gdb_readline -> gdb_readline_no_editing
  Use struct buffer in gdb_readline_no_editing
  Use struct buffer in gdb_readline_callback_no_editing
  Simplify saved_command_line handling
  Command line input handling TLC

 gdb/common/buffer.h                           |   8 +
 gdb/defs.h                                    |   2 -
 gdb/event-top.c                               | 456 ++++++++++++--------------
 gdb/event-top.h                               |   5 +-
 gdb/main.c                                    |   3 +-
 gdb/mi/mi-interp.c                            |   2 +-
 gdb/testsuite/gdb.base/command-line-input.exp |  36 ++
 gdb/top.c                                     | 239 +++-----------
 gdb/top.h                                     |   7 +-
 gdb/utils.c                                   |  22 +-
 10 files changed, 318 insertions(+), 462 deletions(-)
 create mode 100644 gdb/testsuite/gdb.base/command-line-input.exp

-- 
1.9.3

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

end of thread, other threads:[~2016-03-09 18:43 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-18 17:40 [PATCH 00/10] Command line input handling TLC Pedro Alves
2016-02-18 17:40 ` [PATCH 07/10] Use struct buffer in gdb_readline_no_editing Pedro Alves
2016-02-18 22:16   ` Sergio Durigan Junior
2016-03-09 18:40     ` Pedro Alves
2016-02-19 15:25   ` Simon Marchi
2016-02-22 14:06   ` Yao Qi
2016-02-18 17:40 ` [PATCH 01/10] Test issuing a command split in multiple lines with continuation chars Pedro Alves
2016-02-18 21:53   ` Sergio Durigan Junior
2016-02-24 12:40   ` Luis Machado
2016-03-09 18:38     ` Pedro Alves
2016-02-18 17:40 ` [PATCH 02/10] Garbage collect window_hook Pedro Alves
2016-02-18 21:55   ` Sergio Durigan Junior
2016-02-18 17:40 ` [PATCH 08/10] Use struct buffer in gdb_readline_callback_no_editing Pedro Alves
2016-02-18 22:18   ` Sergio Durigan Junior
2016-02-18 17:40 ` [PATCH 06/10] gdb_readline -> gdb_readline_no_editing Pedro Alves
2016-02-18 22:00   ` Sergio Durigan Junior
2016-02-18 17:40 ` [PATCH 09/10] Simplify saved_command_line handling Pedro Alves
2016-02-18 17:40 ` [PATCH 03/10] gdb_readline2 -> gdb_readline_callback_no_editing Pedro Alves
2016-02-18 21:59   ` Sergio Durigan Junior
2016-03-09 18:39     ` Pedro Alves
2016-02-18 17:46 ` [PATCH 05/10] Update prompt_for_continue comments Pedro Alves
2016-02-22 14:02   ` Yao Qi
2016-03-09 18:39     ` Pedro Alves
2016-02-18 17:49 ` [PATCH 10/10] Command line input handling TLC Pedro Alves
2016-02-19 16:01   ` Simon Marchi
2016-03-09 18:41     ` Pedro Alves
2016-02-24 12:41   ` Luis Machado
2016-02-18 17:49 ` [PATCH 04/10] Eliminate async_annotation_suffix Pedro Alves
2016-02-18 22:57 ` [PATCH 00/10] Command line input handling TLC Sergio Durigan Junior
2016-02-19 16:04   ` Simon Marchi
2016-02-23  8:51 ` Yao Qi
2016-03-09 18:43 ` 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).