projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix SIGTERM signal safety (PR gdb/15358).
[deliverable/binutils-gdb.git]
/
gdb
/
utils.c
diff --git
a/gdb/utils.c
b/gdb/utils.c
index 9d068c563c8b88cf04df921edfe7878c2a4d929a..364470ca6fe6e541b332213c89d3cb3a27c5960f 100644
(file)
--- a/
gdb/utils.c
+++ b/
gdb/utils.c
@@
-999,6
+999,12
@@
print_sys_errmsg (const char *string, int errcode)
void
quit (void)
{
+ if (sync_quit_force_run)
+ {
+ sync_quit_force_run = 0;
+ quit_force (NULL, stdin == instream);
+ }
+
#ifdef __MSDOS__
/* No steenking SIGINT will ever be coming our way when the
program is resumed. Don't lie. */
This page took
0.028251 seconds
and
4
git commands to generate.