diff options
author | Daniel Jacobowitz <drow@false.org> | 2007-10-11 18:40:28 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2007-10-11 18:40:28 +0000 |
commit | 0f07c3b30f6e5332d3c5aebec1c21676f1d6b108 (patch) | |
tree | 4ecc68ec854d0784e10122149572b906354d6b53 /include/gdb/callback.h | |
parent | dab33830ab3ce4667a67cedfe82c0738d5d9211f (diff) | |
download | cygnal-0f07c3b30f6e5332d3c5aebec1c21676f1d6b108.tar.gz cygnal-0f07c3b30f6e5332d3c5aebec1c21676f1d6b108.tar.bz2 cygnal-0f07c3b30f6e5332d3c5aebec1c21676f1d6b108.zip |
2007-10-11 Jesper Nilsson <jesper.nilsson@axis.com>
* callback.c (cb_is_stdin): Add.
* syscall.c (cb_syscall): Test for stdin, not just fd 0.
2007-10-11 Jesper Nilsson <jesper.nilsson@axis.com>
* callback.h (cb_is_stdin): Add prototype.
Diffstat (limited to 'include/gdb/callback.h')
-rw-r--r-- | include/gdb/callback.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/gdb/callback.h b/include/gdb/callback.h index f1e7d24b8..2245c87dc 100644 --- a/include/gdb/callback.h +++ b/include/gdb/callback.h @@ -315,6 +315,9 @@ int cb_host_to_target_stat PARAMS ((host_callback *, const struct stat *, PTR)); /* Translate a value to target endian. */ void cb_store_target_endian PARAMS ((host_callback *, char *, int, long)); +/* Test if the fd is stdin. */ +int cb_is_stdin PARAMS ((host_callback *, int)); + /* Perform a system call. */ CB_RC cb_syscall PARAMS ((host_callback *, CB_SYSCALL *)); |