diff options
author | Gerd Moellmann <gerd@gnu.org> | 2000-08-07 12:31:50 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2000-08-07 12:31:50 +0000 |
commit | d2ba9cb19adcdeecf26b030b1fe725d64fbc4028 (patch) | |
tree | e89738dcd54d36b7f811f73ecd1375816303296b /src/.gdbinit | |
parent | f11ecf5d242cb2c6c73ab6adb86a917d499e51e8 (diff) | |
download | emacs-d2ba9cb19adcdeecf26b030b1fe725d64fbc4028.tar.gz |
(xhashtable): New command.
Diffstat (limited to 'src/.gdbinit')
-rw-r--r-- | src/.gdbinit | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/.gdbinit b/src/.gdbinit index 52e902809f6..b50d672c73b 100644 --- a/src/.gdbinit +++ b/src/.gdbinit @@ -3,6 +3,7 @@ set main # 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 @@ dir ../lwlib # 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 @@ Set $ as a buffer pointer, assuming it is an Emacs Lisp buffer value. 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 *$ |