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

Andrew Burgess aburgess@redhat.com
Fri Nov 19 11:33:35 GMT 2021


* Christina Schimpe via Gdb-patches <gdb-patches@sourceware.org> [2021-11-16 10:58:09 +0100]:

> 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 for making these changes.  I pushed both these patches.

Andrew

> 
> 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