Fix for 'FAIL: gdb.cp/class2.exp: p acp->c2' on spu-elf
This commit is contained in:
parent
7f0df27888
commit
0709f7d3ac
@ -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.
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user