From 2f3d939e36068b3d1f99e9eb51250bc04d815144 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Mon, 13 May 2013 15:15:59 +0100 Subject: [PATCH] graw/tgsi_dump: Fix gdb macro. The macro was relying on "tokens" local variable to exist. --- src/gallium/tests/graw/tgsi_dump.gdb | 4 ++-- 1 file 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 -- 2.30.2