From: José Fonseca Date: Mon, 13 May 2013 14:15:59 +0000 (+0100) Subject: graw/tgsi_dump: Fix gdb macro. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2f3d939e36068b3d1f99e9eb51250bc04d815144;p=mesa.git graw/tgsi_dump: Fix gdb macro. The macro was relying on "tokens" local variable to exist. --- 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