summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2013-05-13 15:15:59 +0100
committerJosé Fonseca <jfonseca@vmware.com>2013-05-14 15:36:37 +0100
commit2f3d939e36068b3d1f99e9eb51250bc04d815144 (patch)
treeab046c7385ca7b85311fc0ffa8790e99a5a7a4af /src
parent560ddad261b863461664311f10dab99c7efc8a3a (diff)
graw/tgsi_dump: Fix gdb macro.
The macro was relying on "tokens" local variable to exist.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/tests/graw/tgsi_dump.gdb4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/tests/graw/tgsi_dump.gdb b/src/gallium/tests/graw/tgsi_dump.gdb
index ab294d18c1..c793555ca5 100644
--- a/src/gallium/tests/graw/tgsi_dump.gdb
+++ b/src/gallium/tests/graw/tgsi_dump.gdb
@@ -1,6 +1,6 @@
define tgsi_dump
- set $tokens=(const struct tgsi_header *)$arg0
+ set $tokens=(const struct tgsi_header *)($arg0)
set $nr_tokens = $tokens->HeaderSize + $tokens->BodySize
- set $tokens_end = &tokens[$nr_tokens]
+ set $tokens_end = &$tokens[$nr_tokens]
dump memory tgsi_dump.bin $tokens $tokens_end
end