diff options
Diffstat (limited to 'gdb/inf-child.h')
-rw-r--r-- | gdb/inf-child.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gdb/inf-child.h b/gdb/inf-child.h index 91955a6..70de393 100644 --- a/gdb/inf-child.h +++ b/gdb/inf-child.h @@ -1,6 +1,6 @@ /* Base/prototype target for default child (native) targets. - Copyright (C) 2004-2024 Free Software Foundation, Inc. + Copyright (C) 2004-2025 Free Software Foundation, Inc. This file is part of GDB. @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef INF_CHILD_H -#define INF_CHILD_H +#ifndef GDB_INF_CHILD_H +#define GDB_INF_CHILD_H #include "target.h" #include "process-stratum-target.h" @@ -81,6 +81,8 @@ public: int fileio_pread (int fd, gdb_byte *read_buf, int len, ULONGEST offset, fileio_error *target_errno) override; int fileio_fstat (int fd, struct stat *sb, fileio_error *target_errno) override; + int fileio_lstat (struct inferior *inf, const char *filename, + struct stat *sb, fileio_error *target_errno) override; int fileio_close (int fd, fileio_error *target_errno) override; int fileio_unlink (struct inferior *inf, const char *filename, @@ -115,4 +117,4 @@ extern void add_inf_child_target (inf_child_target *target); targets use add_inf_child_target instead. */ extern void inf_child_open_target (const char *arg, int from_tty); -#endif +#endif /* GDB_INF_CHILD_H */ |