diff options
| author | Eli Zaretskii | 2010-04-19 16:05:35 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2010-04-19 16:05:35 +0300 |
| commit | d1da276f60aebe2ae8efe67f0b92c938e7451175 (patch) | |
| tree | 5412523bb504b111d39435c80b502dc3decb0894 /src | |
| parent | 37dcfea079aea4edbdcf175468f780048ed14a6b (diff) | |
| download | emacs-d1da276f60aebe2ae8efe67f0b92c938e7451175.tar.gz emacs-d1da276f60aebe2ae8efe67f0b92c938e7451175.zip | |
.gdbinit (xsubchartable): New command.
Diffstat (limited to 'src')
| -rw-r--r-- | src/.gdbinit | 13 | ||||
| -rw-r--r-- | src/ChangeLog | 2 |
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. | |||
| 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 | 890 | end |
| 891 | 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. | ||
| 903 | end | ||
| 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 |
diff --git a/src/ChangeLog b/src/ChangeLog index 17915b318ff..851835e93a7 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2010-04-19 Eli Zaretskii <eliz@gnu.org> | 1 | 2010-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 |