[PATCH 0/2] Make use of gdb::options for info variabels|functions|args|locals

Andrew Burgess andrew.burgess@embecosm.com
Thu Jul 11 13:21:00 GMT 2019


Additional use of the gdb::options framework.

--

Andrew Burgess (2):
  gdb: Allow quoting around string options in the gdb::option framework
  gdb: Make use of gdb::option framework for some info commands

 gdb/ChangeLog                      |  23 +++++++
 gdb/cli/cli-option.c               |   5 +-
 gdb/cli/cli-utils.c                | 134 ++++++++++---------------------------
 gdb/cli/cli-utils.h                |  38 ++++++-----
 gdb/gdbsupport/common-utils.c      |  59 ++++++++++++++++
 gdb/gdbsupport/common-utils.h      |  10 +++
 gdb/stack.c                        |  38 +++--------
 gdb/symtab.c                       |  44 ++++--------
 gdb/testsuite/ChangeLog            |   6 ++
 gdb/testsuite/gdb.base/options.exp |  54 ++++++++++-----
 10 files changed, 220 insertions(+), 191 deletions(-)

-- 
2.14.5



More information about the Gdb-patches mailing list