comparison src/.gdbinit @ 13359:4c60f92bdaa6

Do `set main' to make gdb_valbits etc. available.
author Richard M. Stallman <rms@gnu.org>
date Tue, 31 Oct 1995 00:55:50 +0000
parents 6882fe187fa9
children efe2270f061c
comparison
equal deleted inserted replaced
13358:febf5ce4532c 13359:4c60f92bdaa6
1 # Set up a mask to use. 1 # Set up a mask to use.
2
3 # Force loading of symbols, enough to give us gdb_valbits etc.
4 set main
2 5
3 # This should be EMACS_INT, but in some cases that is a macro. 6 # This should be EMACS_INT, but in some cases that is a macro.
4 # long ought to work in all cases right now. 7 # long ought to work in all cases right now.
5 set $valmask = ((long)1 << gdb_valbits) - 1 8 set $valmask = ((long)1 << gdb_valbits) - 1
6 set $nonvalbits = gdb_emacs_intbits - gdb_valbits 9 set $nonvalbits = gdb_emacs_intbits - gdb_valbits