diff options
author | Paul Pluzhnikov <ppluzhnikov@google.com> | 2008-07-15 19:15:28 +0000 |
---|---|---|
committer | Paul Pluzhnikov <ppluzhnikov@google.com> | 2008-07-15 19:15:28 +0000 |
commit | 0709f7d3ac1f49eb12151114cc763a297e489446 (patch) | |
tree | 822ba40e6059139a5225e6f579d2e72664fd651c /gdb | |
parent | 7f0df27888b662a1b4800036cb0f0fa266f297d5 (diff) | |
download | gdb-0709f7d3ac1f49eb12151114cc763a297e489446.zip gdb-0709f7d3ac1f49eb12151114cc763a297e489446.tar.gz gdb-0709f7d3ac1f49eb12151114cc763a297e489446.tar.bz2 |
Fix for 'FAIL: gdb.cp/class2.exp: p acp->c2' on spu-elf
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.cp/class2.exp | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 51b55bb..377cff1 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com> + + * gdb.cp/class2.exp: fix for failure on spu-elf + 2008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com> * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477. diff --git a/gdb/testsuite/gdb.cp/class2.exp b/gdb/testsuite/gdb.cp/class2.exp index d39130d..3d8bf12 100644 --- a/gdb/testsuite/gdb.cp/class2.exp +++ b/gdb/testsuite/gdb.cp/class2.exp @@ -121,6 +121,6 @@ gdb_test "p e" "= \{<No data fields>\}" "print object with no data fields" # Printing NULL pointers with "set print object on" gdb_test "set print object on" "" -gdb_test "p acp" "= \\(C \\*\\) 0x\[a-f0-9\]+" +gdb_test "p acp" "= \\(C \\*\\) ${hex}" gdb_test "p acp->c1" "\\(A \\*\\) 0x0" -gdb_test "p acp->c2" "\\(A \\*\\) 0xf+" +gdb_test "p acp->c2" "\\(A \\*\\) ${hex}f" |