diff options
Diffstat (limited to 'gdb/linux-nat.h')
-rw-r--r-- | gdb/linux-nat.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/gdb/linux-nat.h b/gdb/linux-nat.h index 6e53991..7cbe9a9 100644 --- a/gdb/linux-nat.h +++ b/gdb/linux-nat.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; @@ -276,12 +279,12 @@ struct lwp_info : intrusive_list_node<lwp_info> will be recorded here, while 'status == 0' is ambiguous. */ struct target_waitstatus waitstatus; - /* Signal whether we are in a SYSCALL_ENTRY or - in a SYSCALL_RETURN event. - Values: - - TARGET_WAITKIND_SYSCALL_ENTRY - - TARGET_WAITKIND_SYSCALL_RETURN */ - enum target_waitkind syscall_state; + /* Signal whether we are in a SYSCALL_ENTRY or SYSCALL_RETURN event. + + Valid values are TARGET_WAITKIND_SYSCALL_ENTRY, + TARGET_WAITKIND_SYSCALL_RETURN, or TARGET_WAITKIND_SYSCALL_IGNORE, when + not stopped at a syscall. */ + target_waitkind syscall_state = TARGET_WAITKIND_IGNORE; /* The processor core this LWP was last seen on. */ int core = -1; |