Mercurial > emacs
comparison src/.gdbinit @ 108453:6ebf8ca9708b
Merge from mainline.
author | Katsumi Yamaoka <katsumi@flagship2> |
---|---|
date | Thu, 22 Apr 2010 12:19:18 +0000 |
parents | 8cc4089eeeaa |
children | 8cdd7952f894 |
comparison
equal
deleted
inserted
replaced
108452:b586617999c7 | 108453:6ebf8ca9708b |
---|---|
885 echo \n | 885 echo \n |
886 end | 886 end |
887 document xchartable | 887 document xchartable |
888 Print the address of the char-table $, and its purpose. | 888 Print the address of the char-table $, and its purpose. |
889 This command assumes that $ is an Emacs Lisp char-table value. | 889 This command assumes that $ is an Emacs Lisp char-table value. |
890 end | |
891 | |
892 define 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 | |
899 end | |
900 document xsubchartable | |
901 Print the address of the sub-char-table $, its depth and min-char. | |
902 This command assumes that $ is an Emacs Lisp sub-char-table value. | |
890 end | 903 end |
891 | 904 |
892 define xboolvector | 905 define xboolvector |
893 xgetptr $ | 906 xgetptr $ |
894 print (struct Lisp_Bool_Vector *) $ptr | 907 print (struct Lisp_Bool_Vector *) $ptr |