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]

[PATCH 00/10] Command line input handling TLC


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


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