From: Sandra Loosemore Date: Thu, 24 Sep 2015 00:12:07 +0000 (-0700) Subject: Allow any size enum in gdb.cp/var-tag.exp. X-Git-Tag: users/ARM/embedded-binutils-2_26-branch-2016q1~597 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=938d3bf25b2f5bc1a9d955d86070e8bbee127f52;p=platform%2Fupstream%2Fbinutils.git Allow any size enum in gdb.cp/var-tag.exp. 2015-09-23 Sandra Loosemore gdb/testsuite/ * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying to allow any size enum. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index efabcdf..2c75cea 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-09-23 Sandra Loosemore + + * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying + to allow any size enum. + 2015-09-23 Pierre-Marie de Rodat * gdb.ada/array_ptr_renaming.exp: New testcase. diff --git a/gdb/testsuite/gdb.cp/var-tag.exp b/gdb/testsuite/gdb.cp/var-tag.exp index 71d9237..6dc198c 100644 --- a/gdb/testsuite/gdb.cp/var-tag.exp +++ b/gdb/testsuite/gdb.cp/var-tag.exp @@ -30,7 +30,7 @@ proc do_global_tests {lang} { set invalid_print "Attempt to use a type name as an expression" if {$lang == "c++"} { - set opt_underlying "(: unsigned int )?" + set opt_underlying "(: unsigned (int|short|char) )?" } else { set opt_underlying "" }