[gdb/record] Support recording of getrandom
authorTom de Vries <tdevries@suse.de>
Tue, 12 Jul 2022 13:15:19 +0000 (15:15 +0200)
committerTom de Vries <tdevries@suse.de>
Tue, 12 Jul 2022 13:15:19 +0000 (15:15 +0200)
commit43f074cde435be5d9ee0cf2f264a70cd539c1983
tree5fc0ea37fcc3780e3d354a337e0257a10edba1d8
parent3f6227c2f40a3e6009c60483f464e349d30145bb
[gdb/record] Support recording of getrandom

Add missing support for recording of linux syscall getrandom.

Tested on x86_64-linux with native and target board unix/-m32.

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=22081
gdb/aarch64-linux-tdep.c
gdb/amd64-linux-tdep.c
gdb/amd64-linux-tdep.h
gdb/arm-linux-tdep.c
gdb/linux-record.c
gdb/linux-record.h
gdb/ppc-linux-tdep.c
gdb/s390-linux-tdep.c
gdb/testsuite/gdb.reverse/getrandom.c [new file with mode: 0644]
gdb/testsuite/gdb.reverse/getrandom.exp [new file with mode: 0644]