diff options
author | Kevin Buettner <kevinb@redhat.com> | 2015-11-16 14:58:07 -0700 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-12-29 19:17:11 -0500 |
commit | 90d99f327063af7d87c61234896d4a1dbe073a43 (patch) | |
tree | c923eb23efc0a03a712e18501eeab0959b3ed37b /include/elf | |
parent | 090d9d00b51cf130973f01770cd1712e768f1d87 (diff) | |
download | gdb-90d99f327063af7d87c61234896d4a1dbe073a43.zip gdb-90d99f327063af7d87c61234896d4a1dbe073a43.tar.gz gdb-90d99f327063af7d87c61234896d4a1dbe073a43.tar.bz2 |
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.
Diffstat (limited to 'include/elf')
0 files changed, 0 insertions, 0 deletions