This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] remove REQUEST_QUIT macro use


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
 }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]