]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* callback.h (struct host_callback_struct): New member lstat.
authorHans-Peter Nilsson <hp@axis.com>
Mon, 13 Dec 2004 00:35:29 +0000 (00:35 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Mon, 13 Dec 2004 00:35:29 +0000 (00:35 +0000)
(CB_SYS_lstat): New macro.

include/gdb/ChangeLog
include/gdb/callback.h

index 06c02af58adf18e9e5b773d24bcfc3775582b620..d9654a793f1f59585a86bfffa719491dc35c72e8 100644 (file)
@@ -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>
index aa956d05f47ee355970b0659f904d667d38e243a..fbaef249d9b3532309ee04f04b1591637ab7d471 100644 (file)
@@ -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
 \f
 /* Struct use to pass and return information necessary to perform a
    system call.  */