comparison src/.gdbinit @ 20672:0ef14112e9b3

Make GDB not handle SIGINT.
author Karl Heuer <kwzh@gnu.org>
date Sun, 18 Jan 1998 04:54:59 +0000
parents 3b630b1cb848
children 4379a41b6f2e
comparison
equal deleted inserted replaced
20671:be91d6130341 20672:0ef14112e9b3
1 # Set up a mask to use.
2
3 # Force loading of symbols, enough to give us gdb_valbits etc. 1 # Force loading of symbols, enough to give us gdb_valbits etc.
4 set main 2 set main
5 3
6 # Find lwlib source files too. 4 # Find lwlib source files too.
7 dir ../lwlib 5 dir ../lwlib
8 6
7 # Don't enter GDB when user types C-g to quit.
8 # This has one unfortunate effect: you can't type C-c
9 # at the GDB to stop Emacs, when using X.
10 # However, C-z works just as well in that case.
11 handle 2 noprint pass
12
13 # Set up a mask to use.
9 # This should be EMACS_INT, but in some cases that is a macro. 14 # This should be EMACS_INT, but in some cases that is a macro.
10 # long ought to work in all cases right now. 15 # long ought to work in all cases right now.
11 set $valmask = ((long)1 << gdb_valbits) - 1 16 set $valmask = ((long)1 << gdb_valbits) - 1
12 set $nonvalbits = gdb_emacs_intbits - gdb_valbits 17 set $nonvalbits = gdb_emacs_intbits - gdb_valbits
13 18