gdb/linux-record: Fix size_[ug]id values
authorMarcin Koƛcielnicki <koriakin@0x04.net>
Fri, 30 Oct 2015 15:51:56 +0000 (15:51 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 30 Oct 2015 15:51:56 +0000 (15:51 +0000)
commitd625f9a988e2b7d4a3c43e477af1d94a6ec8bda7
treef1041463403853d0b460d4a0187e06bafaa0592a
parentaefb52a69351517dbcfaafca1d21e5431d4119d1
gdb/linux-record: Fix size_[ug]id values

i386 and arm wrongly set them to 2, when it should be 4.  size_[ug]id is used
by getgroups32 etc syscalls, while size_old_[ug]id is used for getgroups16
and friends.

gdb/ChangeLog:

* arm-linux-tdep.c (arm_linux_init_abi): Fix size_[ug]id.
* i386-linux-tdep.c (i386_linux_init_abi): Fix size_[ug]id.
gdb/ChangeLog
gdb/arm-linux-tdep.c
gdb/i386-linux-tdep.c