changeset 106641:dd4b6b2fe706

(pitx) Fix last change.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 26 Dec 2009 15:55:47 +0000
parents 7079d8b517b0
children 33320786e55e
files src/.gdbinit
diffstat 1 files changed, 8 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/.gdbinit	Sat Dec 26 12:53:42 2009 +0000
+++ b/src/.gdbinit	Sat Dec 26 15:55:47 2009 +0000
@@ -222,7 +222,8 @@
   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 @@
       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