summaryrefslogtreecommitdiff
path: root/include/gdb
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2007-10-11 18:40:29 +0000
committerDaniel Jacobowitz <dan@debian.org>2007-10-11 18:40:29 +0000
commit51899dfaded2e424c2bb92390c48131c30202494 (patch)
tree9bd75c6589e77a97189b86241580f5195d0e33e3 /include/gdb
parent4e222ac946d3049556834f84a4326383a283879c (diff)
downloadgdb-51899dfaded2e424c2bb92390c48131c30202494.tar.gz
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')
-rw-r--r--include/gdb/ChangeLog4
-rw-r--r--include/gdb/callback.h3
2 files changed, 7 insertions, 0 deletions
diff --git a/include/gdb/ChangeLog b/include/gdb/ChangeLog
index e3a3f51c7ca..70266e2ccfa 100644
--- a/include/gdb/ChangeLog
+++ b/include/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2007-10-11 Jesper Nilsson <jesper.nilsson@axis.com>
+
+ * callback.h (cb_is_stdin): Add prototype.
+
2007-08-23 Joel Brobecker <brobecker@adacore.com>
Switch the license of all .h files to GPLv3.
diff --git a/include/gdb/callback.h b/include/gdb/callback.h
index f1e7d24b846..2245c87dc43 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 *));