Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH] remove REQUEST_QUIT macro use
@ 2004-02-18 15:18 Elena Zannoni
  2004-02-19 16:48 ` Elena Zannoni
  0 siblings, 1 reply; 2+ messages in thread
From: Elena Zannoni @ 2004-02-18 15:18 UTC (permalink / raw)
  To: gdb-patches


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
 }


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-02-19 16:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-18 15:18 [PATCH] remove REQUEST_QUIT macro use Elena Zannoni
2004-02-19 16:48 ` Elena Zannoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox