aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-linux-tdep.c
diff options
context:
space:
mode:
authorMarcin Koƛcielnicki <koriakin@0x04.net>2015-10-30 15:51:59 +0000
committerPedro Alves <palves@redhat.com>2015-10-30 15:51:59 +0000
commitb80d067ff0a7d2fcca3f8c01abf4b7201e71b8f0 (patch)
tree2cdd5da8bfe5f9dfb9786463d33972d30b351d17 /gdb/i386-linux-tdep.c
parent933c5a623f247c63b642988a2984f5ce9b558d27 (diff)
downloadgdb-b80d067ff0a7d2fcca3f8c01abf4b7201e71b8f0.zip
gdb-b80d067ff0a7d2fcca3f8c01abf4b7201e71b8f0.tar.gz
gdb-b80d067ff0a7d2fcca3f8c01abf4b7201e71b8f0.tar.bz2
gdb/linux-record: Support time, waitpid, pipe syscalls
gdb/ChangeLog: * aarch64-linux-tdep.c (aarch64_linux_init_abi): Add size_time_t. * amd64-linux-tdep.c (amd64_linux_init_abi): Add size_time_t. (amd64_x32_linux_init_abi): Add size_time_t. * arm-linux-tdep.c (arm_linux_init_abi): Add size_time_t. * i386-linux-tdep.c (i386_linux_init_abi): Add size_time_t. * linux-record.c (record_linux_system_call): Add time, waitpid, pipe handling. * linux-record.h (struct linux_record_tdep): Add size_time_t. * ppc-linux-tdep.c (ppc_init_linux_record_tdep): Add size_time_t.
Diffstat (limited to 'gdb/i386-linux-tdep.c')
-rw-r--r--gdb/i386-linux-tdep.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/i386-linux-tdep.c b/gdb/i386-linux-tdep.c
index 8847ad3..86fe09e 100644
--- a/gdb/i386-linux-tdep.c
+++ b/gdb/i386-linux-tdep.c
@@ -869,6 +869,7 @@ i386_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
i386_linux_record_tdep.size_hayes_esp_config = 12;
i386_linux_record_tdep.size_size_t = 4;
i386_linux_record_tdep.size_iovec = 8;
+ i386_linux_record_tdep.size_time_t = 4;
/* These values are the second argument of system call "sys_ioctl".
They are obtained from Linux Kernel source. */