mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-30 21:44:19 +08:00
Reviewed and approved by Daniel Jacobowitz <drow@false.org>
2007-02-08 Fred Fish <fnf@specifix.com> * defs.h (request_quit): Remove declaration. * utils.c (request_quit): Remove definition.
This commit is contained in:
parent
b69733abb7
commit
79da184e3f
@ -1,3 +1,8 @@
|
|||||||
|
2007-02-08 Fred Fish <fnf@specifix.com>
|
||||||
|
|
||||||
|
* defs.h (request_quit): Remove declaration.
|
||||||
|
* utils.c (request_quit): Remove definition.
|
||||||
|
|
||||||
2007-02-08 Joel Brobecker <brobecker@gnat.com>
|
2007-02-08 Joel Brobecker <brobecker@gnat.com>
|
||||||
Jan Kratochvil <jan.kratochvil@redhat.com>
|
Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||||
Daniel Jacobowitz <dan@codesourcery.com>
|
Daniel Jacobowitz <dan@codesourcery.com>
|
||||||
|
@ -345,8 +345,6 @@ extern int subset_compare (char *, char *);
|
|||||||
|
|
||||||
extern char *safe_strerror (int);
|
extern char *safe_strerror (int);
|
||||||
|
|
||||||
extern void request_quit (int);
|
|
||||||
|
|
||||||
#define ALL_CLEANUPS ((struct cleanup *)0)
|
#define ALL_CLEANUPS ((struct cleanup *)0)
|
||||||
|
|
||||||
extern void do_cleanups (struct cleanup *);
|
extern void do_cleanups (struct cleanup *);
|
||||||
|
12
gdb/utils.c
12
gdb/utils.c
@ -906,18 +906,6 @@ quit (void)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Control C comes here */
|
|
||||||
void
|
|
||||||
request_quit (int signo)
|
|
||||||
{
|
|
||||||
quit_flag = 1;
|
|
||||||
/* Restore the signal handler. Harmless with BSD-style signals,
|
|
||||||
needed for System V-style signals. */
|
|
||||||
signal (signo, request_quit);
|
|
||||||
|
|
||||||
if (immediate_quit)
|
|
||||||
quit ();
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Called when a memory allocation fails, with the number of bytes of
|
/* Called when a memory allocation fails, with the number of bytes of
|
||||||
memory requested in SIZE. */
|
memory requested in SIZE. */
|
||||||
|
Loading…
Reference in New Issue
Block a user