old-cross-binutils/sim
Kevin Buettner 90d99f3270 sim: ppc: track closed state of file descriptors 0, 1, and 2.
This change tracks the "closed" state of file descriptors 0, 1, and 2,
introducing the function fdbad() to emul_netbsd.c and emul_unix.c.
Note that a function of the same name and purpose exists in
sim/common/callback.c.

This patch eliminates all of the "unresolved testcases" when testing
GDB against the powerpc simulator.

This occurs because the powerpc simulator closes, on behalf of the
testcase, the file descriptors associated with stdin, stdout, and
stderr.  GDB still needs these descriptors to communicate with the
user or, in this case, with the testing framework.
2015-12-29 19:17:11 -05:00
..
aarch64 sim: aarch64/msp430: fix disassembler usage 2015-12-27 01:44:37 -05:00
arm sim: unify sim-hload 2015-12-27 00:54:41 -05:00
avr sim: unify sim-hload 2015-12-27 00:54:41 -05:00
bfin sim: unify sim-hload 2015-12-27 00:54:41 -05:00
common sim: unify sim-hload 2015-12-27 00:54:41 -05:00
cr16 sim: unify sim-hload 2015-12-27 00:54:41 -05:00
cris sim: unify sim-hload 2015-12-27 00:54:41 -05:00
d10v sim: unify sim-hload 2015-12-27 00:54:41 -05:00
erc32 sim: punt WITH_DEVICES & tconfig.h support 2015-12-26 20:38:31 -05:00
frv sim: unify sim-hload 2015-12-27 00:54:41 -05:00
ft32 sim: unify sim-hload 2015-12-27 00:54:41 -05:00
h8300 sim: punt WITH_DEVICES & tconfig.h support 2015-12-26 20:38:31 -05:00
igen Remove leading/trailing white spaces in ChangeLog 2015-07-24 04:16:47 -07:00
iq2000 sim: unify sim-hload 2015-12-27 00:54:41 -05:00
lm32 sim: unify sim-hload 2015-12-27 00:54:41 -05:00
m32c sim: punt WITH_DEVICES & tconfig.h support 2015-12-26 20:38:31 -05:00
m32r sim: unify sim-hload 2015-12-27 00:54:41 -05:00
m68hc11 sim: unify sim-hload 2015-12-27 00:54:41 -05:00
mcore sim: unify sim-hload 2015-12-27 00:54:41 -05:00
microblaze sim: unify sim-hload 2015-12-27 00:54:41 -05:00
mips sim: unify sim-hload 2015-12-27 00:54:41 -05:00
mn10300 sim: unify sim-hload 2015-12-27 00:54:41 -05:00
moxie sim: unify sim-hload 2015-12-27 00:54:41 -05:00
msp430 sim: aarch64/msp430: fix disassembler usage 2015-12-27 01:44:37 -05:00
ppc sim: ppc: track closed state of file descriptors 0, 1, and 2. 2015-12-29 19:17:11 -05:00
rl78 sim: punt WITH_DEVICES & tconfig.h support 2015-12-26 20:38:31 -05:00
rx sim: punt WITH_DEVICES & tconfig.h support 2015-12-26 20:38:31 -05:00
sh sim: unify sim-hload 2015-12-27 00:54:41 -05:00
sh64 sim: unify sim-hload 2015-12-27 00:54:41 -05:00
testsuite sim: cris: migrate from WITH_DEVICES to WITH_HW 2015-12-25 06:10:03 -05:00
v850 sim: unify sim-hload 2015-12-27 00:54:41 -05:00
.gitignore sim: rename tconfig.in to tconfig.h 2015-03-16 01:23:52 -04:00
ChangeLog sim: punt WITH_DEVICES & tconfig.h support 2015-12-26 20:38:31 -05:00
configure Add an AArch64 simulator to GDB. 2015-11-24 08:47:59 +00:00
configure.ac sim: use AS_HELP_STRING everywhere 2015-06-23 15:02:08 -04:00
configure.tgt Add an AArch64 simulator to GDB. 2015-11-24 08:47:59 +00:00
MAINTAINERS Add myself as the maintainer for the MSP430 sim. 2014-03-12 11:02:57 +00:00
Makefile.in Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
README-HACKING sim: punt WITH_DEVICES & tconfig.h support 2015-12-26 20:38:31 -05:00