projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
407443a
)
* inflow.c (terminal_ours_1): Initialize ``osigtou''. Only
author
Andrew Cagney
<cagney@redhat.com>
Wed, 14 Feb 2001 16:57:29 +0000
(16:57 +0000)
committer
Andrew Cagney
<cagney@redhat.com>
Wed, 14 Feb 2001 16:57:29 +0000
(16:57 +0000)
declare when have SIGTTOU.
gdb/ChangeLog
patch
|
blob
|
history
gdb/inflow.c
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index 2c6b8f01162af894cdde6464d2be7bd276e0383b..95d879ce1ed1789be471bed40764ad45f115cf56 100644
(file)
--- a/
gdb/ChangeLog
+++ b/
gdb/ChangeLog
@@
-1,3
+1,8
@@
+2001-02-14 Andrew Cagney <ac131313@redhat.com>
+
+ * inflow.c (terminal_ours_1): Initialize ``osigtou''. Only
+ declare when have SIGTTOU.
+
2001-02-14 Eli Zaretskii <eliz@is.elta.co.il>
* config/djgpp/fnchange.lst: Add entries for gdb/gdbtk/*/ChangeLog-*.
diff --git
a/gdb/inflow.c
b/gdb/inflow.c
index 4f751e8bed9c87e0be1b31f84f988f243738e977..2517f97e9cc4d360b65d0a4e1213b6cfd7bbc997 100644
(file)
--- a/
gdb/inflow.c
+++ b/
gdb/inflow.c
@@
-317,9
+317,11
@@
terminal_ours_1 (int output_only)
if (!terminal_is_ours)
{
+#ifdef SIGTTOU
/* Ignore this signal since it will happen when we try to set the
pgrp. */
- void (*osigttou) ();
+ void (*osigttou) () = NULL;
+#endif
int result;
terminal_is_ours = 1;