diff options
author | Markus Deuling <deuling@de.ibm.com> | 2008-03-31 08:34:42 +0000 |
---|---|---|
committer | Markus Deuling <deuling@de.ibm.com> | 2008-03-31 08:34:42 +0000 |
commit | c6140da2ff94304a765ca5eabc4fd72b54855423 (patch) | |
tree | 01f176423f3fe52496fa836790d29282068a4862 /gdb | |
parent | b7d038ae9f4a88775a2c2b6467d62889a6d016fa (diff) | |
download | gdb-c6140da2ff94304a765ca5eabc4fd72b54855423.zip gdb-c6140da2ff94304a765ca5eabc4fd72b54855423.tar.gz gdb-c6140da2ff94304a765ca5eabc4fd72b54855423.tar.bz2 |
2008-03-31 Markus Deuling <deuling@de.ibm.com>
Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
value. Add xfail for older kernels.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/testsuite/gdb.arch/spu-info.exp | 14 |
2 files changed, 17 insertions, 3 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 7ae91af..56dd55b 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2008-03-31 Markus Deuling <deuling@de.ibm.com> + Ulrich Weigand <Ulrich.Weigand@de.ibm.com> + + * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial + value. Add xfail for older kernels. + 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com> Bring mi-support in line with gdb.exp. diff --git a/gdb/testsuite/gdb.arch/spu-info.exp b/gdb/testsuite/gdb.arch/spu-info.exp index 978bdb4..e59b071 100644 --- a/gdb/testsuite/gdb.arch/spu-info.exp +++ b/gdb/testsuite/gdb.arch/spu-info.exp @@ -200,9 +200,17 @@ gdb_test "finish" "" "finish" # Mailbox Test # 'info spu mailbox' should be empty. c_to "Marker Mbox" -gdb_test "info spu mailbox" \ - "SPU Outbound Mailbox.*0xc0000000.*SPU Outbound Interrupt Mailbox.*0xc0000000.*" \ - "info spu mailbox" +set msg "info spu mailbox" +gdb_test_multiple "info spu mailbox" $msg { + -re "SPU Outbound Mailbox.*0x00000000.*SPU Outbound Interrupt Mailbox.*0x00000000.*$gdb_prompt $" { + pass $msg + } + -re "SPU Outbound Mailbox.*0x.*SPU Outbound Interrupt Mailbox.*0x.*$gdb_prompt $" { + # Older kernels had a bug that caused them to return arbitrary values + # when attempting to read from an empty mailbox via spufs. + xfail $msg + } +} # 'info spu mailbox' should now contain data. c_to "Marker MboxEnd" |