summaryrefslogtreecommitdiff
path: root/src/.gdbinit
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2012-02-18 18:54:12 +0200
committerEli Zaretskii <eliz@gnu.org>2012-02-18 18:54:12 +0200
commit3eb49e71f7ce03a4705c6347e87e7ceb2299db11 (patch)
treea3a3d8468b7d35e580309289453647524a47ef4b /src/.gdbinit
parent82233bead8b9d6075a8dd7449a06d37edad1b03a (diff)
downloademacs-3eb49e71f7ce03a4705c6347e87e7ceb2299db11.tar.gz
Fix display of iterator stack by .gdbinit command "pitx".
src/.gdbinit (pitx): Fix incorrect references to fields of the iterator stack.
Diffstat (limited to 'src/.gdbinit')
-rw-r--r--src/.gdbinit4
1 files changed, 2 insertions, 2 deletions
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