aboutsummaryrefslogtreecommitdiff
path: root/gdb/ppc-linux-tdep.c
diff options
context:
space:
mode:
authorMarcin Koƛcielnicki <koriakin@0x04.net>2015-10-30 15:52:01 +0000
committerPedro Alves <palves@redhat.com>2015-10-30 15:52:01 +0000
commitc28ebe255ba37f4dcd295cf6a4608424aaeb699f (patch)
tree16c0bb69fbaff27ae63b3240fc37dc3f5b981671 /gdb/ppc-linux-tdep.c
parentff83a547feacaea9263c04f527aba4faae77035f (diff)
downloadgdb-c28ebe255ba37f4dcd295cf6a4608424aaeb699f.zip
gdb-c28ebe255ba37f4dcd295cf6a4608424aaeb699f.tar.gz
gdb-c28ebe255ba37f4dcd295cf6a4608424aaeb699f.tar.bz2
gdb/linux-record: TASK_COMM_LEN is 16 on ppc too
gdb/ChangeLog: * ppc-linux-tdep.c (ppc_init_linux_record_tdep): Fix TASK_COMM_LEN.
Diffstat (limited to 'gdb/ppc-linux-tdep.c')
-rw-r--r--gdb/ppc-linux-tdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/ppc-linux-tdep.c b/gdb/ppc-linux-tdep.c
index ab20e78..f6dfb5a 100644
--- a/gdb/ppc-linux-tdep.c
+++ b/gdb/ppc-linux-tdep.c
@@ -1455,7 +1455,7 @@ ppc_init_linux_record_tdep (struct linux_record_tdep *record_tdep,
record_tdep->size_pollfd = 8;
record_tdep->size_NFS_FHSIZE = 32;
record_tdep->size_knfsd_fh = 132;
- record_tdep->size_TASK_COMM_LEN = 32;
+ record_tdep->size_TASK_COMM_LEN = 16;
record_tdep->size_sigaction = 32;
record_tdep->size_sigset_t = 8;
record_tdep->size_siginfo_t = 128;
@@ -1522,7 +1522,7 @@ ppc_init_linux_record_tdep (struct linux_record_tdep *record_tdep,
record_tdep->size_pollfd = 8;
record_tdep->size_NFS_FHSIZE = 32;
record_tdep->size_knfsd_fh = 132;
- record_tdep->size_TASK_COMM_LEN = 32;
+ record_tdep->size_TASK_COMM_LEN = 16;
record_tdep->size_sigaction = 20;
record_tdep->size_sigset_t = 8;
record_tdep->size_siginfo_t = 128;