diff options
author | Sandra Loosemore <sandra@codesourcery.com> | 2015-09-23 17:12:07 -0700 |
---|---|---|
committer | Sandra Loosemore <sandra@codesourcery.com> | 2015-09-23 17:12:07 -0700 |
commit | 938d3bf25b2f5bc1a9d955d86070e8bbee127f52 (patch) | |
tree | e156038d90151683627988fcc6e714284bf1e158 /gdb/testsuite | |
parent | 86e13c95cf5c615a0acd7075bf3131f88fbf8804 (diff) | |
download | gdb-938d3bf25b2f5bc1a9d955d86070e8bbee127f52.zip gdb-938d3bf25b2f5bc1a9d955d86070e8bbee127f52.tar.gz gdb-938d3bf25b2f5bc1a9d955d86070e8bbee127f52.tar.bz2 |
Allow any size enum in gdb.cp/var-tag.exp.
2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
gdb/testsuite/
* gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
to allow any size enum.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.cp/var-tag.exp | 2 |
2 files changed, 6 insertions, 1 deletions
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 <sandra@codesourcery.com> + + * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying + to allow any size enum. + 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com> * 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 "" } |