Mercurial > emacs
changeset 30636:88e0ba67d3bc
(xhashtable): New command.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 07 Aug 2000 12:31:50 +0000 |
parents | 2c8dcfcbb642 |
children | b54946f3cbbc |
files | src/.gdbinit |
diffstat | 1 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/.gdbinit Mon Aug 07 12:04:06 2000 +0000 +++ b/src/.gdbinit Mon Aug 07 12:31:50 2000 +0000 @@ -3,6 +3,7 @@ # Find lwlib source files too. dir ../lwlib +dir /gd/gnu/lesstif-0.89.9/lib/Xm # Don't enter GDB when user types C-g to quit. # This has one unfortunate effect: you can't type C-c @@ -10,6 +11,10 @@ # However, C-z works just as well in that case. handle 2 noprint pass +# Don't pass SIGALRM to Emacs. This makes problems when +# debugging. +handle SIGALRM ignore + # Set up a mask to use. # This should be EMACS_INT, but in some cases that is a macro. # long ought to work in all cases right now. @@ -243,6 +248,13 @@ Print the name of the buffer. end +define xhashtable +print (struct Lisp_Hash_Table *) (($ & $valmask) | gdb_data_seg_bits) +end +document xhashtable +Set $ as a hash table pointer, assuming it is an Emacs Lisp hash table value. +end + define xcons print (struct Lisp_Cons *) (($ & $valmask) | gdb_data_seg_bits) output/x *$