aboutsummaryrefslogtreecommitdiff
path: root/include/gdb/callback.h
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2004-12-13 00:35:29 +0000
committerHans-Peter Nilsson <hp@axis.com>2004-12-13 00:35:29 +0000
commitc4b36ce9fe15924cebd13edf3867f19eded2fa89 (patch)
tree289ff0b4add5099b2a7cd12ffe200de504f28940 /include/gdb/callback.h
parent44548205b43db99e079cb8a837a857ea4198bd26 (diff)
downloadgdb-c4b36ce9fe15924cebd13edf3867f19eded2fa89.zip
gdb-c4b36ce9fe15924cebd13edf3867f19eded2fa89.tar.gz
gdb-c4b36ce9fe15924cebd13edf3867f19eded2fa89.tar.bz2
* callback.h (struct host_callback_struct): New member lstat.
(CB_SYS_lstat): New macro.
Diffstat (limited to 'include/gdb/callback.h')
-rw-r--r--include/gdb/callback.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/gdb/callback.h b/include/gdb/callback.h
index aa956d0..fbaef24 100644
--- a/include/gdb/callback.h
+++ b/include/gdb/callback.h
@@ -93,6 +93,7 @@ struct host_callback_struct
void (*flush_stderr) PARAMS ((host_callback *));
int (*stat) PARAMS ((host_callback *, const char *, struct stat *));
int (*fstat) PARAMS ((host_callback *, int, struct stat *));
+ int (*lstat) PARAMS ((host_callback *, const char *, struct stat *));
int (*ftruncate) PARAMS ((host_callback *, int, long));
int (*truncate) PARAMS ((host_callback *, const char *, long));
@@ -188,6 +189,9 @@ extern host_callback default_callback;
#define CB_SYS_chmod 16
#define CB_SYS_utime 17
#define CB_SYS_time 18
+
+/* More standard syscalls. */
+#define CB_SYS_lstat 19
/* Struct use to pass and return information necessary to perform a
system call. */