Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Burgess <andrew.burgess@embecosm.com>
To: gdb-patches@sourceware.org
Cc: Andrew Burgess <andrew.burgess@embecosm.com>
Subject: [PATCHv2 0/5] Add new 'print max-depth' feature
Date: Tue, 16 Apr 2019 23:06:00 -0000	[thread overview]
Message-ID: <cover.1555455013.git.andrew.burgess@embecosm.com> (raw)
In-Reply-To: <cover.1553723416.git.andrew.burgess@embecosm.com>

This revision hopefully addresses all of the feedback from the first
version.

Patches #1 and #2 are new, minor clean up patches.

Patch #3 (previously #1) is unchanged.

Patch #4 is new, this adds a new predicate to the language structure
to decide if a given type is a string or not.

Patch #5 this is updated from the previous version, there's more
documentation, many more tests, minor code issues identified in v1
have been addressed.

--

Andrew Burgess (5):
  gdb/ada: Update some predicate functions to return bool
  gdb/testsuite: Don't add gcc flags when compiling rust tests
  gdb: Introduce new language field la_struct_too_deep_ellipsis
  gdb: Introduce new language field la_is_string_type_p
  gdb: Introduce 'print max-depth' feature

 gdb/ChangeLog                                 |  85 +++++++++
 gdb/NEWS                                      |   9 +
 gdb/ada-lang.c                                |  12 +-
 gdb/ada-lang.h                                |   4 +-
 gdb/c-lang.c                                  |  47 ++++-
 gdb/c-lang.h                                  |   5 +
 gdb/cp-valprint.c                             |  80 +++++----
 gdb/d-lang.c                                  |   4 +-
 gdb/doc/ChangeLog                             |   8 +
 gdb/doc/gdb.texinfo                           |  70 ++++++++
 gdb/doc/guile.texi                            |   3 +
 gdb/doc/python.texi                           |   8 +
 gdb/f-lang.c                                  |  14 +-
 gdb/go-lang.c                                 |  14 +-
 gdb/guile/scm-pretty-print.c                  |  19 +-
 gdb/language.c                                |  22 ++-
 gdb/language.h                                |  13 ++
 gdb/m2-lang.c                                 |  25 ++-
 gdb/objc-lang.c                               |   4 +-
 gdb/opencl-lang.c                             |   4 +-
 gdb/p-lang.c                                  |  14 +-
 gdb/python/py-prettyprint.c                   |  15 +-
 gdb/python/py-value.c                         |   7 +-
 gdb/rust-lang.c                               |  24 ++-
 gdb/testsuite/ChangeLog                       |  23 +++
 gdb/testsuite/gdb.base/max-depth.c            | 232 +++++++++++++++++++++++++
 gdb/testsuite/gdb.base/max-depth.exp          | 165 ++++++++++++++++++
 gdb/testsuite/gdb.fortran/max-depth.exp       |  41 +++++
 gdb/testsuite/gdb.fortran/max-depth.f90       |  42 +++++
 gdb/testsuite/gdb.go/max-depth.exp            |  40 +++++
 gdb/testsuite/gdb.go/max-depth.go             |  41 +++++
 gdb/testsuite/gdb.modula2/max-depth.c         |  45 +++++
 gdb/testsuite/gdb.modula2/max-depth.exp       |  37 ++++
 gdb/testsuite/gdb.python/py-format-string.exp |  21 +++
 gdb/testsuite/gdb.python/py-nested-maps.c     | 130 ++++++++++++++
 gdb/testsuite/gdb.python/py-nested-maps.exp   | 238 ++++++++++++++++++++++++++
 gdb/testsuite/gdb.python/py-nested-maps.py    | 135 +++++++++++++++
 gdb/testsuite/lib/gdb.exp                     |  36 +++-
 gdb/valprint.c                                |  56 +++++-
 gdb/valprint.h                                |  12 ++
 40 files changed, 1746 insertions(+), 58 deletions(-)
 create mode 100644 gdb/testsuite/gdb.base/max-depth.c
 create mode 100644 gdb/testsuite/gdb.base/max-depth.exp
 create mode 100644 gdb/testsuite/gdb.fortran/max-depth.exp
 create mode 100644 gdb/testsuite/gdb.fortran/max-depth.f90
 create mode 100644 gdb/testsuite/gdb.go/max-depth.exp
 create mode 100644 gdb/testsuite/gdb.go/max-depth.go
 create mode 100644 gdb/testsuite/gdb.modula2/max-depth.c
 create mode 100644 gdb/testsuite/gdb.modula2/max-depth.exp
 create mode 100644 gdb/testsuite/gdb.python/py-nested-maps.c
 create mode 100644 gdb/testsuite/gdb.python/py-nested-maps.exp
 create mode 100644 gdb/testsuite/gdb.python/py-nested-maps.py

-- 
2.14.5


       reply	other threads:[~2019-04-16 23:06 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-16 23:06 Andrew Burgess [this message]
2019-03-27 21:53 ` [PATCH 0/2] " Andrew Burgess
2019-03-27 21:53   ` [PATCH 2/2] gdb: Introduce " Andrew Burgess
2019-03-28 16:08     ` Eli Zaretskii
2019-03-27 21:53   ` [PATCH 1/2] gdb: Introduce new language field la_struct_too_deep_ellipsis Andrew Burgess
2019-03-28 12:43     ` Pedro Alves
2019-03-28 12:47   ` [PATCH 0/2] Add new 'print max-depth' feature Pedro Alves
2019-03-28 22:48     ` Andrew Burgess
2019-03-28 23:47       ` Marco Barisione
2019-04-16 23:06   ` [PATCHv2 2/5] gdb/testsuite: Don't add gcc flags when compiling rust tests Andrew Burgess
2019-04-19 14:31     ` Tom Tromey
2019-04-16 23:06   ` [PATCHv2 3/5] gdb: Introduce new language field la_struct_too_deep_ellipsis Andrew Burgess
2019-04-19 14:37     ` Tom Tromey
2019-04-16 23:06   ` [PATCHv2 5/5] gdb: Introduce 'print max-depth' feature Andrew Burgess
2019-04-17  7:42     ` Philippe Waroquiers
2019-04-17 14:35     ` Eli Zaretskii
2019-04-18  1:07       ` Andrew Burgess
2019-04-18  2:38         ` Eli Zaretskii
2019-04-18 21:52           ` Andrew Burgess
2019-04-19  6:50             ` Eli Zaretskii
2019-04-18 17:08     ` Pedro Alves
2019-04-16 23:06   ` [PATCHv2 4/5] gdb: Introduce new language field la_is_string_type_p Andrew Burgess
2019-04-18 17:08     ` Pedro Alves
2019-04-19 21:00       ` Andrew Burgess
2019-04-19 14:45     ` Tom Tromey
2019-04-19 22:22       ` Andrew Burgess
2019-04-24 19:32         ` Tom Tromey
2019-04-19 22:45       ` Andrew Burgess
2019-04-24 19:33         ` Tom Tromey
2019-04-16 23:06   ` [PATCHv2 1/5] gdb/ada: Update some predicate functions to return bool Andrew Burgess
2019-04-18  0:03     ` Joel Brobecker
2019-04-29 21:14 ` [PATCHv2 0/5] Add new 'print max-depth' feature Andrew Burgess

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1555455013.git.andrew.burgess@embecosm.com \
    --to=andrew.burgess@embecosm.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox