OSDN Git Service

Reviewed and approved by Daniel Jacobowitz <drow@false.org>
authorfnf <fnf>
Thu, 8 Feb 2007 16:18:56 +0000 (16:18 +0000)
committerfnf <fnf>
Thu, 8 Feb 2007 16:18:56 +0000 (16:18 +0000)
2007-02-08  Fred Fish  <fnf@specifix.com>
* defs.h (request_quit): Remove declaration.
* utils.c (request_quit): Remove definition.

gdb/ChangeLog
gdb/defs.h
gdb/utils.c

index 9f6dee1..abdf18a 100644 (file)
@@ -1,3 +1,8 @@
+2007-02-08  Fred Fish  <fnf@specifix.com>
+
+       * defs.h (request_quit): Remove declaration.
+       * utils.c (request_quit): Remove definition.
+
 2007-02-08  Joel Brobecker  <brobecker@gnat.com>
            Jan Kratochvil  <jan.kratochvil@redhat.com>
            Daniel Jacobowitz  <dan@codesourcery.com>
index beb1a3b..c793ea4 100644 (file)
@@ -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 *);
index 4d90812..8d9a938 100644 (file)
@@ -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 ();
-}
 \f
 /* Called when a memory allocation fails, with the number of bytes of
    memory requested in SIZE. */