From: Karl Heuer Date: Sun, 18 Jan 1998 04:54:59 +0000 (+0000) Subject: Make GDB not handle SIGINT. X-Git-Tag: emacs-20.3~2402 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=056515d81b3a535a764362aa980222b5ee921dc4;p=emacs.git Make GDB not handle SIGINT. --- diff --git a/src/.gdbinit b/src/.gdbinit index b2395e9e3c9..9bfc9ddf2e7 100644 --- a/src/.gdbinit +++ b/src/.gdbinit @@ -1,11 +1,16 @@ -# Set up a mask to use. - # Force loading of symbols, enough to give us gdb_valbits etc. set main # Find lwlib source files too. dir ../lwlib +# Don't enter GDB when user types C-g to quit. +# This has one unfortunate effect: you can't type C-c +# at the GDB to stop Emacs, when using X. +# However, C-z works just as well in that case. +handle 2 noprint pass + +# 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. set $valmask = ((long)1 << gdb_valbits) - 1