aboutsummaryrefslogtreecommitdiff
path: root/gdb/amd64-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/amd64-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/amd64-linux-tdep.c')
-rw-r--r--gdb/amd64-linux-tdep.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/amd64-linux-tdep.c b/gdb/amd64-linux-tdep.c
index 0b068c3..829d9b7 100644
--- a/gdb/amd64-linux-tdep.c
+++ b/gdb/amd64-linux-tdep.c
@@ -1959,6 +1959,7 @@ amd64_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
amd64_linux_record_tdep.size_hayes_esp_config = 12;
amd64_linux_record_tdep.size_size_t = 8;
amd64_linux_record_tdep.size_iovec = 16;
+ amd64_linux_record_tdep.size_time_t = 8;
/* These values are the second argument of system call "sys_fcntl"
and "sys_fcntl64". They are obtained from Linux Kernel source. */
@@ -2175,6 +2176,7 @@ amd64_x32_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
amd64_x32_linux_record_tdep.size_hayes_esp_config = 12;
amd64_x32_linux_record_tdep.size_size_t = 8;
amd64_x32_linux_record_tdep.size_iovec = 16;
+ amd64_x32_linux_record_tdep.size_time_t = 8;
/* These values are the second argument of system call "sys_fcntl"
and "sys_fcntl64". They are obtained from Linux Kernel source. */