X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;ds=sidebyside;f=gdb%2Flinux-record.h;h=b0bd28521557a737a57227aead7e46f22db5a08e;hb=eb7b504651ff7b44a7328cd967629d8f1d114a4b;hp=ee7545b1722e1683ef736ce9541fc54196e54011;hpb=28e7fd62340426746f9c896cbc40c5d374ec47aa;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/linux-record.h b/gdb/linux-record.h index ee7545b172..b0bd285215 100644 --- a/gdb/linux-record.h +++ b/gdb/linux-record.h @@ -1,6 +1,6 @@ /* Process record and replay target code for GNU/Linux. - Copyright (C) 2008-2013 Free Software Foundation, Inc. + Copyright (C) 2008-2019 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 . */ -#ifndef _LINUX_RECORD_H_ -#define _LINUX_RECORD_H_ +#ifndef LINUX_RECORD_H +#define LINUX_RECORD_H 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_dirent; - int size_dirent64; + int size_old_dirent; 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_siginfo; 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_time_t; /* 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 arg7; }; /* 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 { + /* 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, @@ -501,6 +504,12 @@ enum gdb_syscall { 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, @@ -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); -#endif /* _LINUX_RECORD_H_ */ + +#endif /* LINUX_RECORD_H */