diff options
author | Joern Rennecke <joern.rennecke@arc.com> | 2004-06-27 03:14:51 +0000 |
---|---|---|
committer | Joern Rennecke <joern.rennecke@arc.com> | 2004-06-27 03:14:51 +0000 |
commit | 6b5825780263e16ea89d868a02cebed75e4c95e2 (patch) | |
tree | 1d2748b854b0aa8d571837d234143d38c6fce122 /sim/common | |
parent | 4b6a2264a9a98b0975fb2930d402bc8a31d84d5c (diff) | |
download | gdb-6b5825780263e16ea89d868a02cebed75e4c95e2.tar.gz |
* callback.c (os_shutdown): Fix bug in last change: actually
mark file descriptors as available on startup.
Diffstat (limited to 'sim/common')
-rw-r--r-- | sim/common/ChangeLog | 5 | ||||
-rw-r--r-- | sim/common/callback.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index 573c82d9b4d..b4d3d2a00b6 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,8 @@ +2004-06-27 J"orn Rennecke <joern.rennecke@superh.com> + + * callback.c (os_shutdown): Fix bug in last change: actually + mark file descriptors as available on startup. + 2004-06-25 J"orn Rennecke <joern.rennecke@superh.com> [ include/gdb: * callback.h (host_callback_struct): Replace diff --git a/sim/common/callback.c b/sim/common/callback.c index bbb3fe5baa8..ca707fc18cd 100644 --- a/sim/common/callback.c +++ b/sim/common/callback.c @@ -453,6 +453,7 @@ os_shutdown (p) /* At the initial call of os_init, we got -1, 0, 0, 0, ... */ if (next < 0) { + p->fd_buddy[i] = -1; do_close = 0; break; } |