[PATCH v2 0/2] Fix print of cv qualifiers

Christina Schimpe christina.schimpe@intel.com
Tue Nov 16 09:58:09 GMT 2021


Hi all, 

here is an updated version of the patch based on the feedback of Andrew.
V1 of this patch can be found here:
https://sourceware.org/pipermail/gdb-patches/2021-November/183081.html

Changes since V1:
- New commit for changes in gdb.cp/ptype-cv-cp.*.
- Supplemented ptype and whatis tests in gdb.cp/ptype-cv-cp.*.
- Formatted test comments.
- Removed hard-coded line number in gdb.cp/templates.exp.

Thanks,
Christina

Christina Schimpe (2):
  gdb: Print cv qualifiers if class attributes are substituted
  gdb/testsuite: Extend tests for print of cv qualifiers

 gdb/c-typeprint.c                    |  1 +
 gdb/testsuite/gdb.cp/ptype-cv-cp.cc  |  4 ++++
 gdb/testsuite/gdb.cp/ptype-cv-cp.exp | 12 ++++++++++
 gdb/testsuite/gdb.cp/templates.cc    | 14 +++++++++++
 gdb/testsuite/gdb.cp/templates.exp   | 36 ++++++++++++++++++++++++++++
 5 files changed, 67 insertions(+)

-- 
2.25.1

Intel Deutschland GmbH
Registered Address: Am Campeon 10, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de <http://www.intel.de>
Managing Directors: Christin Eisenschmid, Sharon Heck, Tiffany Doon Silva  
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928



More information about the Gdb-patches mailing list