summaryrefslogtreecommitdiff
path: root/src/.gdbinit
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2009-12-26 15:56:43 +0000
committerEli Zaretskii <eliz@gnu.org>2009-12-26 15:56:43 +0000
commit2d20eee3179ef18a29a371bd3539e9df3392c8c7 (patch)
tree79b98058c8b3dffee52101d4090aac8be9ec9b6f /src/.gdbinit
parent5b28ce35e3ae2f024b79621577ed996f36c14d9e (diff)
downloademacs-2d20eee3179ef18a29a371bd3539e9df3392c8c7.tar.gz
(pitx) Fix last change.
Diffstat (limited to 'src/.gdbinit')
-rw-r--r--src/.gdbinit12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/.gdbinit b/src/.gdbinit
index 949dfbfd480..e8a64f5dfe4 100644
--- a/src/.gdbinit
+++ b/src/.gdbinit
@@ -222,7 +222,8 @@ define pitx
if ($it->sp != 0)
printf " sp=%d", $it->sp
end
- if ($it->what == 0) # IT_CHARACTER
+ # IT_CHARACTER
+ if ($it->what == 0)
if ($it->len == 1 && $it->c >= ' ' && it->c < 255)
printf " ch='%c'", $it->c
else
@@ -256,13 +257,16 @@ define pitx
output $it->what
end
end
- if ($it->method != 0) # GET_FROM_BUFFER
+ if ($it->method != 0)
+ # !GET_FROM_BUFFER
printf " next="
pitmethod $it->method
- if ($it->method == 2) # GET_FROM_STRING
+ if ($it->method == 2)
+ # GET_FROM_STRING
printf "[%d]", $it->current.string_pos.charpos
end
- if ($it->method == 4) # GET_FROM_IMAGE
+ if ($it->method == 4)
+ # GET_FROM_IMAGE
printf "[%d]", $it->image_id
end
end