From: Fred Fish Date: Thu, 8 Feb 2007 16:18:56 +0000 (+0000) Subject: Reviewed and approved by Daniel Jacobowitz X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=79da184e3fbc01d095fed1c0a09929e0aa83a6c0;p=binutils-gdb.git Reviewed and approved by Daniel Jacobowitz 2007-02-08 Fred Fish * defs.h (request_quit): Remove declaration. * utils.c (request_quit): Remove definition. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9f6dee1422b..abdf18aeee6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2007-02-08 Fred Fish + + * defs.h (request_quit): Remove declaration. + * utils.c (request_quit): Remove definition. + 2007-02-08 Joel Brobecker Jan Kratochvil Daniel Jacobowitz diff --git a/gdb/defs.h b/gdb/defs.h index beb1a3b2ac6..c793ea4c57e 100644 --- a/gdb/defs.h +++ b/gdb/defs.h @@ -345,8 +345,6 @@ extern int subset_compare (char *, char *); extern char *safe_strerror (int); -extern void request_quit (int); - #define ALL_CLEANUPS ((struct cleanup *)0) extern void do_cleanups (struct cleanup *); diff --git a/gdb/utils.c b/gdb/utils.c index 4d90812ac7c..8d9a9385729 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -906,18 +906,6 @@ quit (void) #endif } -/* Control C comes here */ -void -request_quit (int signo) -{ - quit_flag = 1; - /* Restore the signal handler. Harmless with BSD-style signals, - needed for System V-style signals. */ - signal (signo, request_quit); - - if (immediate_quit) - quit (); -} /* Called when a memory allocation fails, with the number of bytes of memory requested in SIZE. */