[PATCH v2] gdb: split array and string limiting options

Eli Zaretskii eliz@gnu.org
Tue Dec 14 17:24:46 GMT 2021


> Date: Tue, 14 Dec 2021 16:38:43 +0000 (GMT)
> From: "Maciej W. Rozycki" <macro@embecosm.com>
> Cc: Andrew Burgess <aburgess@redhat.com>
> 
>  gdb/NEWS                                      |   18 +++++++
>  gdb/ada-valprint.c                            |    4 -
>  gdb/c-lang.c                                  |    4 -
>  gdb/c-valprint.c                              |    4 -
>  gdb/doc/gdb.texinfo                           |   36 +++++++++++---
>  gdb/doc/python.texi                           |    5 ++
>  gdb/language.h                                |    2 
>  gdb/m2-lang.c                                 |    2 
>  gdb/m2-valprint.c                             |    3 -
>  gdb/p-lang.c                                  |    2 
>  gdb/p-valprint.c                              |    7 +-
>  gdb/printcmd.c                                |    8 +--
>  gdb/python/py-value.c                         |    6 ++
>  gdb/testsuite/gdb.ada/str_chars.exp           |   64 ++++++++++++++++++++++++++
>  gdb/testsuite/gdb.ada/str_chars/foo.adb       |   26 ++++++++++
>  gdb/testsuite/gdb.base/default.exp            |    4 -
>  gdb/testsuite/gdb.base/examine-backward.exp   |    6 ++
>  gdb/testsuite/gdb.base/options.exp            |    1 
>  gdb/testsuite/gdb.base/printcmds.exp          |   28 +++++------
>  gdb/testsuite/gdb.base/wchar.exp              |    6 +-
>  gdb/testsuite/gdb.base/with.exp               |    2 
>  gdb/testsuite/gdb.guile/scm-pretty-print.exp  |   12 ++--
>  gdb/testsuite/gdb.pascal/str-chars.exp        |   48 +++++++++++++++++++
>  gdb/testsuite/gdb.pascal/str-chars.pas        |   28 +++++++++++
>  gdb/testsuite/gdb.python/py-format-string.exp |   11 ++--
>  gdb/testsuite/gdb.python/py-prettyprint.exp   |    8 ++-
>  gdb/testsuite/lib/gdb.exp                     |    2 
>  gdb/tracepoint.c                              |    4 -
>  gdb/valprint.c                                |   64 ++++++++++++++++++--------
>  gdb/valprint.h                                |   10 ++--
>  30 files changed, 342 insertions(+), 83 deletions(-)
>  create mode 100644 gdb/testsuite/gdb.ada/str_chars.exp
>  create mode 100644 gdb/testsuite/gdb.ada/str_chars/foo.adb
>  create mode 100644 gdb/testsuite/gdb.pascal/str-chars.exp
>  create mode 100644 gdb/testsuite/gdb.pascal/str-chars.pas

Thanks, the documentation parts are OK.


More information about the Gdb-patches mailing list