summaryrefslogtreecommitdiff
path: root/src/.gdbinit
diff options
context:
space:
mode:
authorKaroly Lorentey <lorentey@elte.hu>2005-09-04 03:48:17 +0000
committerKaroly Lorentey <lorentey@elte.hu>2005-09-04 03:48:17 +0000
commit14e4406d6ebb4480ecf4d0c72dd0ba8f09380357 (patch)
tree366f43a2fca3e0e2253a569663b875a5849eea08 /src/.gdbinit
parent270c11a9e118e3305a471a226a0a1079ea96cf49 (diff)
parent3ee7e11e0a24ef54e512de4b73349d0bfa2f2ae8 (diff)
downloademacs-14e4406d6ebb4480ecf4d0c72dd0ba8f09380357.tar.gz
Merged in changes from CVS trunk. Plus added lisp/term tweaks.
Patches applied: * lorentey@elte.hu--2004/emacs--cvs-trunk--0--base-0 tag of miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-474 * lorentey@elte.hu--2004/emacs--cvs-trunk--0--patch-1 Add CVS metadata files. * lorentey@elte.hu--2004/emacs--cvs-trunk--0--patch-2 Update from CVS. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-393
Diffstat (limited to 'src/.gdbinit')
-rw-r--r--src/.gdbinit10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/.gdbinit b/src/.gdbinit
index 66b9e64ec7a..462b6a86c5f 100644
--- a/src/.gdbinit
+++ b/src/.gdbinit
@@ -129,20 +129,24 @@ define pitx
end
if ($it->what == IT_CHARACTER)
if ($it->len == 1 && $it->c >= ' ' && it->c < 255)
- printf "ch='%c'", $it->c
+ printf " ch='%c'", $it->c
else
- printf "ch=[%d,%d]", $it->c, $it->len
+ printf " ch=[%d,%d]", $it->c, $it->len
end
else
if ($it->what == IT_IMAGE)
- printf "IMAGE=%d", $it->image_id
+ printf " IMAGE=%d", $it->image_id
else
+ printf " "
output $it->what
end
end
if ($it->method != GET_FROM_BUFFER)
printf " next="
output $it->method
+ if ($it->method == GET_FROM_STRING)
+ printf "[%d]", $it->current.string_pos.charpos
+ end
end
printf "\n"
if ($it->region_beg_charpos >= 0)