diff options
author | José Fonseca <jfonseca@vmware.com> | 2013-05-13 15:15:59 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2013-05-14 15:36:37 +0100 |
commit | 2f3d939e36068b3d1f99e9eb51250bc04d815144 (patch) | |
tree | ab046c7385ca7b85311fc0ffa8790e99a5a7a4af /src/gallium/tests | |
parent | 560ddad261b863461664311f10dab99c7efc8a3a (diff) | |
download | external_mesa3d-2f3d939e36068b3d1f99e9eb51250bc04d815144.zip external_mesa3d-2f3d939e36068b3d1f99e9eb51250bc04d815144.tar.gz external_mesa3d-2f3d939e36068b3d1f99e9eb51250bc04d815144.tar.bz2 |
graw/tgsi_dump: Fix gdb macro.
The macro was relying on "tokens" local variable to exist.
Diffstat (limited to 'src/gallium/tests')
-rw-r--r-- | src/gallium/tests/graw/tgsi_dump.gdb | 4 |
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 ab294d1..c793555 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 |