aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2010-04-19 16:05:35 +0300
committerEli Zaretskii2010-04-19 16:05:35 +0300
commitd1da276f60aebe2ae8efe67f0b92c938e7451175 (patch)
tree5412523bb504b111d39435c80b502dc3decb0894 /src
parent37dcfea079aea4edbdcf175468f780048ed14a6b (diff)
downloademacs-d1da276f60aebe2ae8efe67f0b92c938e7451175.tar.gz
emacs-d1da276f60aebe2ae8efe67f0b92c938e7451175.zip
.gdbinit (xsubchartable): New command.
Diffstat (limited to 'src')
-rw-r--r--src/.gdbinit13
-rw-r--r--src/ChangeLog2
2 files changed, 15 insertions, 0 deletions
diff --git a/src/.gdbinit b/src/.gdbinit
index b959baae8f3..32b3827b22d 100644
--- a/src/.gdbinit
+++ b/src/.gdbinit
@@ -889,6 +889,19 @@ Print the address of the char-table $, and its purpose.
889This command assumes that $ is an Emacs Lisp char-table value. 889This command assumes that $ is an Emacs Lisp char-table value.
890end 890end
891 891
892define xsubchartable
893 xgetptr $
894 print (struct Lisp_Sub_Char_Table *) $ptr
895 xgetint $->depth
896 set $depth = $int
897 xgetint $->min_char
898 printf "Depth: %d, Min char: %d (0x%x)\n", $depth, $int, $int
899end
900document xsubchartable
901Print the address of the sub-char-table $, its depth and min-char.
902This command assumes that $ is an Emacs Lisp sub-char-table value.
903end
904
892define xboolvector 905define xboolvector
893 xgetptr $ 906 xgetptr $
894 print (struct Lisp_Bool_Vector *) $ptr 907 print (struct Lisp_Bool_Vector *) $ptr
diff --git a/src/ChangeLog b/src/ChangeLog
index 17915b318ff..851835e93a7 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,7 @@
12010-04-19 Eli Zaretskii <eliz@gnu.org> 12010-04-19 Eli Zaretskii <eliz@gnu.org>
2 2
3 * .gdbinit (xsubchartable): New command.
4
3 * xdisp.c (display_line): Don't write beyond the last glyph row in 5 * xdisp.c (display_line): Don't write beyond the last glyph row in
4 the desired matrix. Fixes a crash in "emacs -nw", see 6 the desired matrix. Fixes a crash in "emacs -nw", see
5 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00075.html 7 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00075.html