diff options
author | Eli Zaretskii <eliz@gnu.org> | 2010-04-19 16:05:35 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2010-04-19 16:05:35 +0300 |
commit | d1da276f60aebe2ae8efe67f0b92c938e7451175 (patch) | |
tree | 5412523bb504b111d39435c80b502dc3decb0894 /src/.gdbinit | |
parent | 37dcfea079aea4edbdcf175468f780048ed14a6b (diff) | |
download | emacs-d1da276f60aebe2ae8efe67f0b92c938e7451175.tar.gz |
.gdbinit (xsubchartable): New command.
Diffstat (limited to 'src/.gdbinit')
-rw-r--r-- | src/.gdbinit | 13 |
1 files changed, 13 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. This command assumes that $ is an Emacs Lisp char-table value. end +define xsubchartable + xgetptr $ + print (struct Lisp_Sub_Char_Table *) $ptr + xgetint $->depth + set $depth = $int + xgetint $->min_char + printf "Depth: %d, Min char: %d (0x%x)\n", $depth, $int, $int +end +document xsubchartable +Print the address of the sub-char-table $, its depth and min-char. +This command assumes that $ is an Emacs Lisp sub-char-table value. +end + define xboolvector xgetptr $ print (struct Lisp_Bool_Vector *) $ptr |