This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 0/3] Pretty Printing Whitespace And Python Pretty Printing API
- From: Andrew Burgess <andrew dot burgess at embecosm dot com>
- To: gdb-patches at sourceware dot org
- Cc: Andrew Burgess <andrew dot burgess at embecosm dot com>
- Date: Sat, 23 Mar 2019 23:04:41 +0000
- Subject: [PATCH 0/3] Pretty Printing Whitespace And Python Pretty Printing API
A couple of changes and clean ups related to pretty printing and the
python pretty printer API.
---
Andrew Burgess (3):
gdb: Avoid trailing whitespace when pretty printing
gdb/testsuite: Make test names unique in gdb.python/py-prettyprint.exp
gdb: Make python display_hint None handling defined behaviour
gdb/ChangeLog | 5 +++
gdb/cp-valprint.c | 8 +++-
gdb/doc/ChangeLog | 5 +++
gdb/doc/python.texi | 5 ++-
gdb/testsuite/ChangeLog | 22 +++++++++++
gdb/testsuite/gdb.base/finish-pretty.exp | 2 +-
gdb/testsuite/gdb.base/pretty-print.c | 53 ++++++++++++++++++++++++++
gdb/testsuite/gdb.base/pretty-print.exp | 58 +++++++++++++++++++++++++++++
gdb/testsuite/gdb.python/py-prettyprint.c | 2 +
gdb/testsuite/gdb.python/py-prettyprint.exp | 41 +++++++++++++-------
gdb/testsuite/gdb.python/py-prettyprint.py | 6 +++
11 files changed, 190 insertions(+), 17 deletions(-)
create mode 100644 gdb/testsuite/gdb.base/pretty-print.c
create mode 100644 gdb/testsuite/gdb.base/pretty-print.exp
--
2.14.5