[PATCH] Fix two buglets in cp_print_value_fields patch

Tom Tromey tromey@adacore.com
Thu Jun 27 13:51:00 GMT 2019


>>>>> "Tom" == Tom Tromey <tromey@adacore.com> writes:

Tom> Pedro and Tom both pointed out issues in the cp_print_value_fields
Tom> patch, aka the fix for PR c++/20020.

Tom> This patch addresses both issues.  Tested on x86-64 Fedora 29.

Tom> gdb/ChangeLog
Tom> 2019-06-18  Tom Tromey  <tromey@adacore.com>

Tom> 	* cp-valprint.c (cp_print_value_fields): Pass opts, not options,
Tom> 	to cp_print_static_field.

Tom> gdb/testsuite/ChangeLog
Tom> 2019-06-18  Tom Tromey  <tromey@adacore.com>

Tom> 	* gdb.cp/constexpr-field.exp: Use setup_xfail.

I'm checking this in now.

Tom



More information about the Gdb-patches mailing list