aboutsummaryrefslogtreecommitdiff
path: root/include/gdb/callback.h
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-10-11 18:40:29 +0000
committerDaniel Jacobowitz <drow@false.org>2007-10-11 18:40:29 +0000
commitb981d7096356e3e92b66f0813881754fc69bf41d (patch)
tree0edc96fe699cafa5857e63e111d743a37316394c /include/gdb/callback.h
parentf5bc1778c3150f6e9364a1af81f3ba2658f9e68c (diff)
downloadgdb-b981d7096356e3e92b66f0813881754fc69bf41d.zip
gdb-b981d7096356e3e92b66f0813881754fc69bf41d.tar.gz
gdb-b981d7096356e3e92b66f0813881754fc69bf41d.tar.bz2
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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/gdb/callback.h b/include/gdb/callback.h
index f1e7d24..2245c87 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 *));