# HG changeset patch # User Eli Zaretskii # Date 1261842947 0 # Node ID dd4b6b2fe706442634e35daf60f7bb65165990fd # Parent 7079d8b517b0660a873c3f97d13b7860d9ed254d (pitx) Fix last change. diff -r 7079d8b517b0 -r dd4b6b2fe706 src/.gdbinit --- 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