Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Elena Zannoni <ezannoni@redhat.com>
To: gdb-patches@sources.redhat.com
Subject: [PATCH] remove REQUEST_QUIT macro use
Date: Wed, 18 Feb 2004 15:18:00 -0000	[thread overview]
Message-ID: <16435.33086.494073.924036@localhost.redhat.com> (raw)


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  <ezannoni@redhat.com>

	* 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
 }


             reply	other threads:[~2004-02-18 15:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-18 15:18 Elena Zannoni [this message]
2004-02-19 16:48 ` Elena Zannoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=16435.33086.494073.924036@localhost.redhat.com \
    --to=ezannoni@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox