aboutsummaryrefslogtreecommitdiff
path: root/gdb/linux-nat.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/linux-nat.h')
-rw-r--r--gdb/linux-nat.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/gdb/linux-nat.h b/gdb/linux-nat.h
index ee86037..21ec309 100644
--- a/gdb/linux-nat.h
+++ b/gdb/linux-nat.h
@@ -1,6 +1,6 @@
/* Native debugging support for GNU/Linux (LWP layer).
- Copyright (C) 2000-2024 Free Software Foundation, Inc.
+ Copyright (C) 2000-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 LINUX_NAT_H
-#define LINUX_NAT_H
+#ifndef GDB_LINUX_NAT_H
+#define GDB_LINUX_NAT_H
#include "nat/linux-nat.h"
#include "inf-ptrace.h"
@@ -108,6 +108,9 @@ public:
const char *filename,
fileio_error *target_errno) override;
+ int fileio_lstat (struct inferior *inf, const char *filename,
+ struct stat *sb, fileio_error *target_errno) override;
+
int fileio_unlink (struct inferior *inf,
const char *filename,
fileio_error *target_errno) override;
@@ -342,4 +345,4 @@ void linux_nat_switch_fork (ptid_t new_ptid);
uninitialized in such case). */
bool linux_nat_get_siginfo (ptid_t ptid, siginfo_t *siginfo);
-#endif /* LINUX_NAT_H */
+#endif /* GDB_LINUX_NAT_H */