Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2004-12-13 03:35:29 +0300
committerHans-Peter Nilsson <hp@axis.com>2004-12-13 03:35:29 +0300
commit716f334bcedcad1fefdb072dd1b37a7b24a83576 (patch)
treebd801090b85fb0e69bb86238a5fd250388258f26 /include/gdb
parent3020ba83ce5c45a2ad55e8174d35889f659f4e6a (diff)
* callback.h (struct host_callback_struct): New member lstat.
(CB_SYS_lstat): New macro.
Diffstat (limited to 'include/gdb')
-rw-r--r--include/gdb/ChangeLog5
-rw-r--r--include/gdb/callback.h4
2 files changed, 9 insertions, 0 deletions
diff --git a/include/gdb/ChangeLog b/include/gdb/ChangeLog
index 06c02af58..d9654a793 100644
--- a/include/gdb/ChangeLog
+++ b/include/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2004-12-13 Hans-Peter Nilsson <hp@axis.com>
+
+ * callback.h (struct host_callback_struct): New member lstat.
+ (CB_SYS_lstat): New macro.
+
2004-09-08 Michael Snyder <msnyder@redhat.com>
Commited by Corinna Vinschen <vinschen@redhat.com>
diff --git a/include/gdb/callback.h b/include/gdb/callback.h
index aa956d05f..fbaef249d 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. */