mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-09 02:37:38 +00:00
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.
This commit is contained in:
parent
b2ce285497
commit
2ede629fa8
@ -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>
|
2004-02-18 Mark Kettenis <kettenis@gnu.org>
|
||||||
|
|
||||||
* config/djgpp/fnchange.lst: Rename "amd64obsd-tdep.c" and
|
* config/djgpp/fnchange.lst: Rename "amd64obsd-tdep.c" and
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Top level stuff for GDB, the GNU debugger.
|
/* 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.
|
Written by Elena Zannoni <ezannoni@cygnus.com> of Cygnus Solutions.
|
||||||
|
|
||||||
This file is part of GDB.
|
This file is part of GDB.
|
||||||
@ -971,11 +971,7 @@ void
|
|||||||
async_request_quit (gdb_client_data arg)
|
async_request_quit (gdb_client_data arg)
|
||||||
{
|
{
|
||||||
quit_flag = 1;
|
quit_flag = 1;
|
||||||
#ifdef REQUEST_QUIT
|
|
||||||
REQUEST_QUIT;
|
|
||||||
#else
|
|
||||||
quit ();
|
quit ();
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Tell the event loop what to do if SIGQUIT is received.
|
/* Tell the event loop what to do if SIGQUIT is received.
|
||||||
|
@ -979,12 +979,8 @@ request_quit (int signo)
|
|||||||
about USG defines and stuff like that. */
|
about USG defines and stuff like that. */
|
||||||
signal (signo, request_quit);
|
signal (signo, request_quit);
|
||||||
|
|
||||||
#ifdef REQUEST_QUIT
|
|
||||||
REQUEST_QUIT;
|
|
||||||
#else
|
|
||||||
if (immediate_quit)
|
if (immediate_quit)
|
||||||
quit ();
|
quit ();
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Memory management stuff (malloc friends). */
|
/* Memory management stuff (malloc friends). */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user