OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains3x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ae953b
)
* lin-lwp.c (child_wait): Check SAVE_ERRNO instead of ERRNO in
author
kettenis
<kettenis>
Sun, 31 Mar 2002 15:10:38 +0000
(15:10 +0000)
committer
kettenis
<kettenis>
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
a4d7048
..
4c7b844
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
216198b
..
cb5b19f
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)
{