summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2004-02-19 16:48:43 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2004-02-19 16:48:43 +0000
commit63f9fccfb7b92fa6a5e538b5d8575ddce15bbe3e (patch)
treeff4edbd4e6fcf8ca96e8af5ef33396a7751de761
parent1448e8275f3e77339f4930391492c9fb58611f0e (diff)
downloadgdb-63f9fccfb7b92fa6a5e538b5d8575ddce15bbe3e.tar.gz
2004-02-19 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.
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/event-top.c6
-rw-r--r--gdb/utils.c4
3 files changed, 7 insertions, 9 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 23a4a77715e..083fcaa3fc1 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2004-02-19 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.
+
2004-02-18 Mark Kettenis <kettenis@gnu.org>
* config/djgpp/fnchange.lst: Rename "amd64obsd-tdep.c" and
diff --git a/gdb/event-top.c b/gdb/event-top.c
index 913e030f54e..f03aa1192a1 100644
--- a/gdb/event-top.c
+++ b/gdb/event-top.c
@@ -1,5 +1,5 @@
/* Top level stuff for GDB, the GNU debugger.
- Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+ Copyright 1999, 2000, 2001, 2002, 2004 Free Software Foundation, Inc.
Written by Elena Zannoni <ezannoni@cygnus.com> of Cygnus Solutions.
This file is part of GDB.
@@ -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.
diff --git a/gdb/utils.c b/gdb/utils.c
index e99164cd3ca..34e67771b34 100644
--- a/gdb/utils.c
+++ b/gdb/utils.c
@@ -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
}
/* Memory management stuff (malloc friends). */