aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2015-09-23 17:12:07 -0700
committerSandra Loosemore <sandra@codesourcery.com>2015-09-23 17:12:07 -0700
commit938d3bf25b2f5bc1a9d955d86070e8bbee127f52 (patch)
treee156038d90151683627988fcc6e714284bf1e158 /gdb
parent86e13c95cf5c615a0acd7075bf3131f88fbf8804 (diff)
downloadgdb-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')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.cp/var-tag.exp2
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 ""
}