URL
https://opencores.org/ocsvn/or1k/or1k/trunk
[/] [or1k/] [trunk/] [gdb-5.0/] [gdb/] [event-top.c] - Diff between revs 593 and 594
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 593 |
Rev 594 |
Line 965... |
Line 965... |
/* Tell the event loop what to do if SIGINT is received.
|
/* Tell the event loop what to do if SIGINT is received.
|
See event-signal.c. */
|
See event-signal.c. */
|
void
|
void
|
handle_sigint (int sig)
|
handle_sigint (int sig)
|
{
|
{
|
printf ("!!!\n");
|
|
signal (sig, handle_sigint);
|
signal (sig, handle_sigint);
|
|
|
/* If immediate_quit is set, we go ahead and process the SIGINT right
|
/* If immediate_quit is set, we go ahead and process the SIGINT right
|
away, even if we usually would defer this to the event loop. The
|
away, even if we usually would defer this to the event loop. The
|
assumption here is that it is safe to process ^C immediately if
|
assumption here is that it is safe to process ^C immediately if
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.