On 07/30/2015 02:56 PM, Keith Seitz wrote: > On 07/30/2015 12:02 PM, Sandra Loosemore wrote: > >> diff --git a/gdb/testsuite/gdb.cp/var-tag.exp b/gdb/testsuite/gdb.cp/var-tag.exp >> index 30aab99..60379e9 100644 >> --- a/gdb/testsuite/gdb.cp/var-tag.exp >> +++ b/gdb/testsuite/gdb.cp/var-tag.exp >> @@ -28,13 +28,18 @@ if {[prepare_for_testing $testfile.exp $testfile \ >> >> proc do_global_tests {lang} { >> set invalid_print "Attempt to use a type name as an expression" >> - set ptypefmt "type = (class|enum|union|struct) %s {.*}" >> + >> + if {$lang == "c++"} { >> + set opt_underlying "(: unsigned int )?" >> + } else { >> + set opt_underlying "" > > Missing '}' ? Oh, argh. I had fixed this in the local GIT branch I'm using for testing, and then applied the wrong version of the patch to the master branch to check in. Here is the correct patch; I hope I've fixed this up correctly on master now. -Sandra