aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.arch/spu-info.exp
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2008-08-07 21:25:28 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2008-08-07 21:25:28 +0000
commit12ab8a602f4ebb83654346ccbcf63df58a7497f8 (patch)
tree765ac789ebfb59b24844c866599bfa49d018d51b /gdb/testsuite/gdb.arch/spu-info.exp
parentd35fd65983caac22b1204d4c0d79f5b9eabb1286 (diff)
downloadgdb-12ab8a602f4ebb83654346ccbcf63df58a7497f8.zip
gdb-12ab8a602f4ebb83654346ccbcf63df58a7497f8.tar.gz
gdb-12ab8a602f4ebb83654346ccbcf63df58a7497f8.tar.bz2
ChangeLog:
* spu-tdep.c (info_spu_dma_cmdlist): Only show entries with the valid bit set. Ensure display order respects partial order defined by dependency bits. testsuite/ChangeLog: * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
Diffstat (limited to 'gdb/testsuite/gdb.arch/spu-info.exp')
-rw-r--r--gdb/testsuite/gdb.arch/spu-info.exp8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.arch/spu-info.exp b/gdb/testsuite/gdb.arch/spu-info.exp
index e59b071..265b21d 100644
--- a/gdb/testsuite/gdb.arch/spu-info.exp
+++ b/gdb/testsuite/gdb.arch/spu-info.exp
@@ -106,12 +106,12 @@ gdb_test "info spu mailbox" \
# 'info spu dma'.
gdb_test "info spu dma" \
- "Tag-Group Status.*Tag-Group Mask.*Stall-and-Notify .*Atomic Cmd Status.*Opcode.*Tag.*TId.*RId.*EA.*LSA.*Size.*LstAddr.*LstSize.*E.*" \
+ "Tag-Group Status.*Tag-Group Mask.*Stall-and-Notify .*Atomic Cmd Status.*" \
"info spu dma"
# 'info spu proxydma'.
gdb_test "info spu proxydma" \
- "Tag-Group Status.*Tag-Group Mask.*Opcode.*Tag.*TId.*RId.*EA.*LSA.*Size.*LstAddr.*LstSize.*E.*" \
+ "Tag-Group Status.*Tag-Group Mask.*" \
"info spu proxydma"
# Event tests.
@@ -186,14 +186,14 @@ gdb_test "info spu event" \
# 'info spu dma' should be empty.
c_to "Marker DMA"
gdb_test "info spu dma" \
- "Tag-Group Status.*0x00000000.*Tag-Group Mask.*0x00000000.*Stall-and-Notify.*0x00000000.*Atomic Cmd Status.*0x00000000.*Opcode.*Tag.*TId.*RId.*EA.*LSA.*Size.*LstAddr.*LstSize.*E.*0.*0.*0.*0.*0x00000 0x00000.*" \
+ "Tag-Group Status.*0x00000000.*Tag-Group Mask.*0x00000000.*Stall-and-Notify.*0x00000000.*Atomic Cmd Status.*0x00000000\[\r\n\]+" \
"info spu dma (empty)"
# 'info spu dma' should be filled with some data.
c_to "Marker DMAWait"
gdb_test "next" "" "next"
gdb_test "info spu dma" \
- "Tag-Group Status.*0x00000000.*Tag-Group Mask.*0x00000020.*Stall-and-Notify.*0x00000000.*Atomic Cmd Status.*0x00000000.*Opcode.*Tag.*TId.*RId.*EA.*LSA.*Size.*LstAddr.*LstSize.*E.*getl.*putllc.*get.*mfcsync.*get.*0.*0.*0.*0.*0x00000 0x00000.*" \
+ "Tag-Group Status.*0x00000000.*Tag-Group Mask.*0x00000020.*Stall-and-Notify.*0x00000000.*Atomic Cmd Status.*0x00000000.*Opcode.*Tag.*TId.*RId.*EA.*LSA.*Size.*LstAddr.*LstSize.*E.*get.*5.*0.*0.*0x00080\[ \r\n\]+" \
"info spu dma (non-empty)"
gdb_test "finish" "" "finish"