projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
560ddad
)
graw/tgsi_dump: Fix gdb macro.
author
José Fonseca
<jfonseca@vmware.com>
Mon, 13 May 2013 14:15:59 +0000
(15:15 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Tue, 14 May 2013 14:36:37 +0000
(15:36 +0100)
The macro was relying on "tokens" local variable to exist.
src/gallium/tests/graw/tgsi_dump.gdb
patch
|
blob
|
history
diff --git
a/src/gallium/tests/graw/tgsi_dump.gdb
b/src/gallium/tests/graw/tgsi_dump.gdb
index ab294d18c1a77eb67b2dceb96735b8c19f157da8..c793555ca5637e3244a3be6f51bb8bfd03493e4e 100644
(file)
--- 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