This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix two buglets in cp_print_value_fields patch


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]