projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
crash printing non-local variable from nested subprogram
[deliverable/binutils-gdb.git]
/
gdb
/
utils.c
diff --git
a/gdb/utils.c
b/gdb/utils.c
index fdc486dc1b56c1c4dcd69ea8f066ad0c7dff7829..3ce88b957ba4fe4cb0b7e16092a4aa4e98fcf765 100644
(file)
--- a/
gdb/utils.c
+++ b/
gdb/utils.c
@@
-3302,9
+3302,9
@@
wait_to_die_with_timeout (pid_t pid, int *status, int timeout)
sa.sa_flags = 0;
sigaction (SIGALRM, &sa, &old_sa);
#else
-
void (*ofunc) ()
;
+
sighandler_t ofunc
;
- ofunc =
(void (*)())
signal (SIGALRM, sigalrm_handler);
+ ofunc = signal (SIGALRM, sigalrm_handler);
#endif
alarm (timeout);
This page took
0.025089 seconds
and
4
git commands to generate.