Fix display of iterator stack by .gdbinit command "pitx".

src/.gdbinit (pitx): Fix incorrect references to fields of the
 iterator stack.
This commit is contained in:
Eli Zaretskii 2012-02-18 18:54:12 +02:00
parent 82233bead8
commit 3eb49e71f7
2 changed files with 7 additions and 2 deletions

View file

@ -254,8 +254,8 @@ define pitx
while ($i < $it->sp && $i < 4)
set $e = $it->stack[$i]
printf "stack[%d]: ", $i
pitmethod $e->method
printf "[%d]", $e->position.charpos
pitmethod $e.method
printf "[%d]", $e.position.charpos
printf "\n"
set $i = $i + 1
end

View file

@ -1,3 +1,8 @@
2012-02-18 Eli Zaretskii <eliz@gnu.org>
* .gdbinit (pitx): Fix incorrect references to fields of the
iterator stack.
2012-02-17 Chong Yidong <cyd@gnu.org>
* syntax.c (Fscan_lists): Doc fix (Bug#10833).