From: Eli Zaretskii Date: Sat, 18 Feb 2012 16:54:12 +0000 (+0200) Subject: Fix display of iterator stack by .gdbinit command "pitx". X-Git-Tag: emacs-pretest-24.0.94~120 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3eb49e71f7ce03a4705c6347e87e7ceb2299db11;p=emacs.git Fix display of iterator stack by .gdbinit command "pitx". src/.gdbinit (pitx): Fix incorrect references to fields of the iterator stack. --- diff --git a/src/.gdbinit b/src/.gdbinit index fc8eab6d1df..74dbd7a4197 100644 --- a/src/.gdbinit +++ b/src/.gdbinit @@ -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 diff --git a/src/ChangeLog b/src/ChangeLog index 7ad28b0473d..472dcc13d14 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2012-02-18 Eli Zaretskii + + * .gdbinit (pitx): Fix incorrect references to fields of the + iterator stack. + 2012-02-17 Chong Yidong * syntax.c (Fscan_lists): Doc fix (Bug#10833).