gdb/linux-record: Fix [gs]etgroups16 syscall
authorMarcin Koƛcielnicki <koriakin@0x04.net>
Fri, 30 Oct 2015 15:51:59 +0000 (15:51 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 30 Oct 2015 15:51:59 +0000 (15:51 +0000)
commitcb658d218b873a69b1f19971695f92d5db17a388
tree256df464db050b7c93de5da57aed8d32016082e8
parentb80d067ff0a7d2fcca3f8c01abf4b7201e71b8f0
gdb/linux-record: Fix [gs]etgroups16 syscall

Memory size for getgroups16 needs to be multiplied by entry count, and only
needs recording if the pointer is non-NULL.  setgroups16, on the other hand,
doesn't write to user memory and doesn't need special handling at all.

gdb/ChangeLog:

* linux-record.c (record_linux_system_call): Fix [gs]etgroups16.
gdb/ChangeLog
gdb/linux-record.c
This page took 0.026481 seconds and 4 git commands to generate.