From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28040 invoked by alias); 13 Oct 2006 14:58:13 -0000 Received: (qmail 27994 invoked by uid 22791); 13 Oct 2006 14:58:12 -0000 X-Spam-Check-By: sourceware.org Received: from w099.z064220152.sjc-ca.dsl.cnc.net (HELO bluesmobile.corp.specifix.com) (64.220.152.99) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 13 Oct 2006 14:58:08 +0000 Received: from [::1] (bluesmobile.corp.specifix.com [192.168.1.32]) by bluesmobile.corp.specifix.com (Postfix) with ESMTP id 400E63B8E7; Fri, 13 Oct 2006 07:52:36 -0700 (PDT) From: Fred Fish Reply-To: fnf@specifix.com To: Daniel Jacobowitz Subject: Re: [RFC] Patch for QUIT macro support Date: Fri, 13 Oct 2006 14:58:00 -0000 User-Agent: KMail/1.9.3 Cc: GDB Patches , fnf@specifix.com References: <200610130543.25806.fnf@specifix.com> <200610130622.39164.fnf@specifix.com> <20061013133046.GA9478@nevyn.them.org> In-Reply-To: <20061013133046.GA9478@nevyn.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200610130757.45150.fnf@specifix.com> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-10/txt/msg00152.txt.bz2 This doesn't fix the issue with QUIT, but it does get rid of old cruft that is no longer used. -Fred 2006-10-13 Fred Fish * defs.h (request_quit): Remove declaration. * utils.c (request_quit): Remove definition. Index: gdb/gdb/defs.h =================================================================== RCS file: /services/cvs/cvsroot/latest/gdb/gdb/defs.h,v retrieving revision 1.1.1.5.2.5 diff -u -p -r1.1.1.5.2.5 defs.h --- gdb/gdb/defs.h 13 Oct 2006 14:39:17 -0000 1.1.1.5.2.5 +++ gdb/gdb/defs.h 13 Oct 2006 14:49:32 -0000 @@ -342,8 +342,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: gdb/gdb/utils.c =================================================================== RCS file: /services/cvs/cvsroot/latest/gdb/gdb/utils.c,v retrieving revision 1.1.1.5.2.2 diff -u -p -r1.1.1.5.2.2 utils.c --- gdb/gdb/utils.c 25 Sep 2006 02:04:53 -0000 1.1.1.5.2.2 +++ gdb/gdb/utils.c 13 Oct 2006 14:49:32 -0000 @@ -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. */