diff options
author | cvs2svn <> | 2004-07-09 18:42:15 +0000 |
---|---|---|
committer | cvs2svn <> | 2004-07-09 18:42:15 +0000 |
commit | dc7425d645c73447937870b89138b40d2dfd2879 (patch) | |
tree | 53cd2ddf6fe790a55bf456828c09da3673bc19bb /include/gdb/callback.h | |
parent | f3a88e3bd25802e6acc3fb5d716ad12b4e67f494 (diff) | |
download | cygnal-dc7425d645c73447937870b89138b40d2dfd2879.tar.gz cygnal-dc7425d645c73447937870b89138b40d2dfd2879.tar.bz2 cygnal-dc7425d645c73447937870b89138b40d2dfd2879.zip |
This commit was manufactured by cvs2svn to create branch 'gdb_6_2-branch'.jimb-gdb_6_2-e500-branchpointgdb_6_2-20040730-releasegdb_6_2-2004-07-10-gmt-branchpoint
Sprout from ezannoni_pie-20040323-branch 2004-03-23 23:05:53 UTC cvs2svn 'This commit was manufactured by cvs2svn to create branch'
Cherrypick from master 2004-07-09 18:42:14 UTC Andreas Schwab <schwab@linux-m68k.org> 'binutils/testsuite/:':
ChangeLog
MAINTAINERS
Makefile.def
Makefile.in
Makefile.tpl
config-ml.in
config.sub
config/ChangeLog
config/acx.m4
configure
configure.in
include/ChangeLog
include/bfdlink.h
include/coff/ChangeLog
include/coff/ecoff.h
include/coff/internal.h
include/coff/mips.h
include/demangle.h
include/dis-asm.h
include/elf/ChangeLog
include/elf/common.h
include/elf/cr16c.h
include/elf/crx.h
include/elf/m32r.h
include/elf/mips.h
include/elf/sh.h
include/gdb/ChangeLog
include/gdb/callback.h
include/hashtab.h
include/opcode/ChangeLog
include/opcode/crx.h
include/opcode/i386.h
include/opcode/m68k.h
include/splay-tree.h
src-release
Delete:
include/mpw/ChangeLog
include/mpw/README
include/mpw/dir.h
include/mpw/dirent.h
include/mpw/fcntl.h
include/mpw/grp.h
include/mpw/mpw.h
include/mpw/pwd.h
include/mpw/spin.h
include/mpw/stat.h
include/mpw/sys/file.h
include/mpw/sys/param.h
include/mpw/sys/resource.h
include/mpw/sys/stat.h
include/mpw/sys/time.h
include/mpw/sys/types.h
include/mpw/utime.h
include/mpw/varargs.h
mpw-README
mpw-build.in
mpw-config.in
mpw-configure
mpw-install
Diffstat (limited to 'include/gdb/callback.h')
-rw-r--r-- | include/gdb/callback.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/include/gdb/callback.h b/include/gdb/callback.h index 3fa419143..aa956d05f 100644 --- a/include/gdb/callback.h +++ b/include/gdb/callback.h @@ -123,8 +123,15 @@ struct host_callback_struct int last_errno; /* host format */ int fdmap[MAX_CALLBACK_FDS]; - char fdopen[MAX_CALLBACK_FDS]; - char alwaysopen[MAX_CALLBACK_FDS]; + /* fd_buddy is used to contruct circular lists of target fds that point to + the same host fd. A uniquely mapped fd points to itself; for a closed + one, fd_buddy has the value -1. The host file descriptors for stdin / + stdout / stderr are never closed by the simulators, so they are put + in a special fd_buddy circular list which also has MAX_CALLBACK_FDS + as a member. */ + /* ??? We don't have a callback entry for dup, although it is trival to + implement now. */ + short fd_buddy[MAX_CALLBACK_FDS+1]; /* System call numbers. */ CB_TARGET_DEFS_MAP *syscall_map; |