summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/tests')
-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 ab294d18c1a..c793555ca56 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