Fix display of iterator stack by .gdbinit command "pitx".
authorEli Zaretskii <eliz@gnu.org>
Sat, 18 Feb 2012 16:54:12 +0000 (18:54 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 18 Feb 2012 16:54:12 +0000 (18:54 +0200)
 src/.gdbinit (pitx): Fix incorrect references to fields of the
 iterator stack.

src/.gdbinit
src/ChangeLog

index fc8eab6..74dbd7a 100644 (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
index 7ad28b0..472dcc1 100644 (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).