projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gas: Update commit 4780e5e4933
[binutils-gdb.git]
/
gdb
/
linux-record.h
diff --git
a/gdb/linux-record.h
b/gdb/linux-record.h
index 7315863749df8ffe61ac4ebf61dc8809901ab448..f2e6bdc6e42d504fe75bab2909e6311b5bee1cce 100644
(file)
--- a/
gdb/linux-record.h
+++ b/
gdb/linux-record.h
@@
-1,6
+1,6
@@
/* Process record and replay target code for GNU/Linux.
/* Process record and replay target code for GNU/Linux.
- Copyright (C) 2008
, 2009
Free Software Foundation, Inc.
+ Copyright (C) 2008
-2021
Free Software Foundation, Inc.
This file is part of GDB.
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/>. */
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_RECORD_H_
-#define
_LINUX_RECORD_H_
+#ifndef
LINUX_RECORD_H
+#define
LINUX_RECORD_H
struct linux_record_tdep
{
struct linux_record_tdep
{
@@
-39,8
+39,7
@@
struct linux_record_tdep
int size_old_gid_t;
int size_old_uid_t;
int size_fd_set;
int size_old_gid_t;
int size_old_uid_t;
int size_fd_set;
- int size_dirent;
- int size_dirent64;
+ int size_old_dirent;
int size_statfs;
int size_statfs64;
int size_sockaddr;
int size_statfs;
int size_statfs64;
int size_sockaddr;
@@
-81,7
+80,6
@@
struct linux_record_tdep
int size_epoll_event;
int size_itimerspec;
int size_mq_attr;
int size_epoll_event;
int size_itimerspec;
int size_mq_attr;
- int size_siginfo;
int size_termios;
int size_termios2;
int size_pid_t;
int size_termios;
int size_termios2;
int size_pid_t;
@@
-91,6
+89,7
@@
struct linux_record_tdep
int size_hayes_esp_config;
int size_size_t;
int size_iovec;
int size_hayes_esp_config;
int size_size_t;
int size_iovec;
+ int size_time_t;
/* The values of the second argument of system call "sys_ioctl". */
int ioctl_TCGETS;
/* The values of the second argument of system call "sys_ioctl". */
int ioctl_TCGETS;
@@
-174,6
+173,7
@@
struct linux_record_tdep
int arg4;
int arg5;
int arg6;
int arg4;
int arg5;
int arg6;
+ int arg7;
};
/* Enum that defines the gdb-canonical set of Linux syscall identifiers.
};
/* Enum that defines the gdb-canonical set of Linux syscall identifiers.
@@
-181,6
+181,9
@@
struct linux_record_tdep
each must provide a mapping from their set to this one. */
enum gdb_syscall {
each must provide a mapping from their set to this one. */
enum gdb_syscall {
+ /* An unknown GDB syscall, not a real syscall. */
+ gdb_sys_no_syscall = -1,
+
gdb_sys_restart_syscall = 0,
gdb_sys_exit = 1,
gdb_sys_fork = 2,
gdb_sys_restart_syscall = 0,
gdb_sys_exit = 1,
gdb_sys_fork = 2,
@@
-501,6
+504,12
@@
enum gdb_syscall {
gdb_sys_move_pages = 317,
gdb_sys_getcpu = 318,
gdb_sys_epoll_pwait = 319,
gdb_sys_move_pages = 317,
gdb_sys_getcpu = 318,
gdb_sys_epoll_pwait = 319,
+ gdb_sys_fallocate = 324,
+ gdb_sys_eventfd2 = 328,
+ gdb_sys_epoll_create1 = 329,
+ gdb_sys_dup3 = 330,
+ gdb_sys_pipe2 = 331,
+ gdb_sys_inotify_init1 = 332,
gdb_sys_socket = 500,
gdb_sys_connect = 501,
gdb_sys_accept = 502,
gdb_sys_socket = 500,
gdb_sys_connect = 501,
gdb_sys_accept = 502,
@@
-537,4
+546,5
@@
enum gdb_syscall {
extern int record_linux_system_call (enum gdb_syscall num,
struct regcache *regcache,
struct linux_record_tdep *tdep);
extern int record_linux_system_call (enum gdb_syscall num,
struct regcache *regcache,
struct linux_record_tdep *tdep);
-#endif /* _LINUX_RECORD_H_ */
+
+#endif /* LINUX_RECORD_H */