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:
3b83b06
)
* lin-lwp.c (child_wait): Check SAVE_ERRNO instead of ERRNO in
author
Mark Kettenis
<kettenis@gnu.org>
Sun, 31 Mar 2002 15:10:38 +0000
(15:10 +0000)
committer
Mark Kettenis
<kettenis@gnu.org>
Sun, 31 Mar 2002 15:10:38 +0000
(15:10 +0000)
while statement.
gdb/ChangeLog
patch
|
blob
|
history
gdb/lin-lwp.c
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index a4d704837eadc656c7fc3fae9fcba21e9b7240a8..4c7b8445fcbef8e9b985f8eb5bc2db4cc77252eb 100644
(file)
--- a/
gdb/ChangeLog
+++ b/
gdb/ChangeLog
@@
-1,3
+1,8
@@
+2002-03-31 Mark Kettenis <kettenis@gnu.org>
+
+ * lin-lwp.c (child_wait): Check SAVE_ERRNO instead of ERRNO in
+ while statement.
+
2002-03-29 Jim Blandy <jimb@redhat.com>
* cli/cli-dump.c (_initialize_cli_dump): Older GCC's tolerate
diff --git
a/gdb/lin-lwp.c
b/gdb/lin-lwp.c
index 216198b003f7819872a5469534472b998071cc9c..cb5b19f31486447eb0d33d2b83aad5cfc6473f41 100644
(file)
--- a/
gdb/lin-lwp.c
+++ b/
gdb/lin-lwp.c
@@
-969,7
+969,7
@@
child_wait (ptid_t ptid, struct target_waitstatus *ourstatus)
clear_sigio_trap ();
clear_sigint_trap ();
}
- while (pid == -1 && errno == EINTR);
+ while (pid == -1 &&
save_
errno == EINTR);
if (pid == -1)
{