gdb/linux-record: Fix msghdr parsing on 64-bit targets
authorMarcin Koƛcielnicki <koriakin@0x04.net>
Fri, 30 Oct 2015 15:51:58 +0000 (15:51 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 30 Oct 2015 15:51:58 +0000 (15:51 +0000)
commit933c5a623f247c63b642988a2984f5ce9b558d27
tree90e158524331d5c933d8e1574bbfa730adfd798c
parent72aded8673d6cb2d0e33696e010a778e9bbfa817
gdb/linux-record: Fix msghdr parsing on 64-bit targets

The code failed to account for padding between the int and subsequent
pointer present on 64-bit architectures.

gdb/ChangeLog:

* linux-record.c (record_linux_msghdr): Fix msg_namelen handling.
gdb/ChangeLog
gdb/linux-record.c