From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12816 invoked by alias); 18 Feb 2004 15:18:36 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 12803 invoked from network); 18 Feb 2004 15:18:34 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by sources.redhat.com with SMTP; 18 Feb 2004 15:18:34 -0000 Received: by localhost.redhat.com (Postfix, from userid 469) id E4D7C1A448A; Wed, 18 Feb 2004 10:14:12 -0500 (EST) From: Elena Zannoni MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16435.33086.494073.924036@localhost.redhat.com> Date: Wed, 18 Feb 2004 15:18:00 -0000 To: gdb-patches@sources.redhat.com Subject: [PATCH] remove REQUEST_QUIT macro use X-SW-Source: 2004-02/txt/msg00513.txt.bz2 I noticed that this macro is never defined, it was part of the Mach 3 port which was deleted. I'll commit later today. elena 2004-02-18 Elena Zannoni * event-top.c (async_request_quit): Remove uses of REQUEST_QUIT macro, which was part of the now removed Mach 3 port. * utils.c (request_quit): Ditto. Index: event-top.c =================================================================== RCS file: /cvs/src/src/gdb/event-top.c,v retrieving revision 1.31 diff -u -p -r1.31 event-top.c --- event-top.c 6 Nov 2003 22:54:01 -0000 1.31 +++ event-top.c 18 Feb 2004 15:11:06 -0000 @@ -971,11 +971,7 @@ void async_request_quit (gdb_client_data arg) { quit_flag = 1; -#ifdef REQUEST_QUIT - REQUEST_QUIT; -#else quit (); -#endif } /* Tell the event loop what to do if SIGQUIT is received. Index: utils.c =================================================================== RCS file: /cvs/src/src/gdb/utils.c,v retrieving revision 1.115 diff -u -p -r1.115 utils.c --- utils.c 10 Feb 2004 19:08:13 -0000 1.115 +++ utils.c 18 Feb 2004 15:13:37 -0000 @@ -979,12 +979,8 @@ request_quit (int signo) about USG defines and stuff like that. */ signal (signo, request_quit); -#ifdef REQUEST_QUIT - REQUEST_QUIT; -#else if (immediate_quit) quit (); -#endif }