aboutsummaryrefslogtreecommitdiff
path: root/gdb/aarch64-linux-tdep.c
diff options
context:
space:
mode:
authorMarcin Koƛcielnicki <koriakin@0x04.net>2015-10-30 15:52:02 +0000
committerPedro Alves <palves@redhat.com>2015-10-30 15:52:02 +0000
commitd9b19c4992e7384f12441bc13c0e22d4054b0487 (patch)
tree18425c834fddd712c7290901bb5f5c8a7088e3e3 /gdb/aarch64-linux-tdep.c
parentc28ebe255ba37f4dcd295cf6a4608424aaeb699f (diff)
downloadgdb-d9b19c4992e7384f12441bc13c0e22d4054b0487.zip
gdb-d9b19c4992e7384f12441bc13c0e22d4054b0487.tar.gz
gdb-d9b19c4992e7384f12441bc13c0e22d4054b0487.tar.bz2
gdb/linux-record: Fix size_termios for x32, amd64, aarch64
60 bytes is the size of glibc's struct termios, the one used by kernel is 36 bytes long. gdb/ChangeLog: * aarch64-linux-tdep.c (aarch64_linux_init_abi): Fix size_termios. * amd64-linux-tdep.c (amd64_linux_init_abi): Fix size_termios. (amd64_x32_linux_init_abi): Fix size_termios.
Diffstat (limited to 'gdb/aarch64-linux-tdep.c')
-rw-r--r--gdb/aarch64-linux-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/aarch64-linux-tdep.c b/gdb/aarch64-linux-tdep.c
index a1dcd5b..aa35196 100644
--- a/gdb/aarch64-linux-tdep.c
+++ b/gdb/aarch64-linux-tdep.c
@@ -1053,7 +1053,7 @@ aarch64_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
aarch64_linux_record_tdep.size_epoll_event = 12;
aarch64_linux_record_tdep.size_itimerspec = 32;
aarch64_linux_record_tdep.size_mq_attr = 64;
- aarch64_linux_record_tdep.size_termios = 60;
+ aarch64_linux_record_tdep.size_termios = 36;
aarch64_linux_record_tdep.size_termios2 = 44;
aarch64_linux_record_tdep.size_pid_t = 4;
aarch64_linux_record_tdep.size_winsize = 8;