summaryrefslogtreecommitdiff
path: root/gdb/utils.c
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>2007-02-08 16:18:56 +0000
committerFred Fish <fnf@specifix.com>2007-02-08 16:18:56 +0000
commit5dc266bbc2a28502cf2652009acaf4720d2691f2 (patch)
tree66db76eac69b3ad327204c0e620d5cfe5c1ec2c8 /gdb/utils.c
parent08785bdeab804536f62aa90546b1bd4d5d015de2 (diff)
downloadgdb-5dc266bbc2a28502cf2652009acaf4720d2691f2.tar.gz
Reviewed and approved by Daniel Jacobowitz <drow@false.org>
2007-02-08 Fred Fish <fnf@specifix.com> * defs.h (request_quit): Remove declaration. * utils.c (request_quit): Remove definition.
Diffstat (limited to 'gdb/utils.c')
-rw-r--r--gdb/utils.c12
1 files changed, 0 insertions, 12 deletions
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. */