2007-10-11 Jesper Nilsson <jesper.nilsson@axis.com>
authorDaniel Jacobowitz <drow@false.org>
Thu, 11 Oct 2007 18:44:07 +0000 (18:44 +0000)
committerDaniel Jacobowitz <drow@false.org>
Thu, 11 Oct 2007 18:44:07 +0000 (18:44 +0000)
commiteb639c500494ee8c4ca8978c50451dca10112744
treeaea47081d1300f0357ab386bc139b3c53f2e31c5
parentb981d7096356e3e92b66f0813881754fc69bf41d
2007-10-11  Jesper Nilsson  <jesper.nilsson@axis.com>

* callback.c (cb_is_stdin, cb_is_stdout, cb_is_stderr): Add functions.
* syscall.c (cb_syscall): Test for stdin/out/err, not just fd 0/1/2.

2007-10-11  Jesper Nilsson  <jesper.nilsson@axis.com>

* callback.h (cb_is_stdin, cb_is_stdout, cb_is_stderr): Add prototypes.

2007-10-11  Jesper Nilsson  <jesper.nilsson@axis.com>

* sim/cris/c/freopen2.c: Added testcase.
include/gdb/ChangeLog
include/gdb/callback.h
sim/common/ChangeLog
sim/common/callback.c
sim/common/syscall.c
sim/testsuite/ChangeLog
sim/testsuite/sim/cris/c/freopen1.c
sim/testsuite/sim/cris/c/freopen2.c [new file with mode: 0644]