diff options
author | Sandra Loosemore <sandra@codesourcery.com> | 2015-07-30 14:20:01 -0700 |
---|---|---|
committer | Sandra Loosemore <sandra@codesourcery.com> | 2015-07-30 14:20:01 -0700 |
commit | 032a0fca009e8ae7ffc5443d07d959c839dc7af4 (patch) | |
tree | f43dfee695b277e2cc370b26c22fd71bc4134f08 /gdb/testsuite/gdb.cp | |
parent | e1b5381f1b24d2c6b1e254cf7e35f8a470394adc (diff) | |
download | gdb-032a0fca009e8ae7ffc5443d07d959c839dc7af4.zip gdb-032a0fca009e8ae7ffc5443d07d959c839dc7af4.tar.gz gdb-032a0fca009e8ae7ffc5443d07d959c839dc7af4.tar.bz2 |
Replace incorrect patch to gdb.cp/var-tag.exp.
2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
gdb/testsuite/
* gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
correct patch.
Diffstat (limited to 'gdb/testsuite/gdb.cp')
-rw-r--r-- | gdb/testsuite/gdb.cp/var-tag.exp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.cp/var-tag.exp b/gdb/testsuite/gdb.cp/var-tag.exp index 60379e9..71d9237 100644 --- a/gdb/testsuite/gdb.cp/var-tag.exp +++ b/gdb/testsuite/gdb.cp/var-tag.exp @@ -33,6 +33,7 @@ proc do_global_tests {lang} { set opt_underlying "(: unsigned int )?" } else { set opt_underlying "" + } set ptypefmt "type = (class|enum|union|struct) %s $opt_underlying{.*}" with_test_prefix $lang { @@ -65,7 +66,7 @@ proc do_global_tests {lang} { # Each of them is in a separate CU as once its CU is expanded, # we're no longer using the quick fns API. gdb_test "print E2" "= a2" - gdb_test "ptype E2" "type = enum E2 {.*}" + gdb_test "ptype E2" "type = enum E2 $opt_underlying{.*}" gdb_test "print S2" "= {<No data fields>}" gdb_test "ptype S2" "type = struct S2 {.*}" gdb_test "print U2" "= {.*}" |