[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
This commit is contained in:
Tom de Vries
2022-07-12 15:15:19 +02:00
parent 3f6227c2f4
commit 43f074cde4
10 changed files with 116 additions and 1 deletions

View File

@ -320,7 +320,8 @@ enum amd64_syscall {
amd64_sys_sync_file_range = 277,
amd64_sys_vmsplice = 278,
amd64_sys_move_pages = 279,
amd64_sys_pipe2 = 293
amd64_sys_pipe2 = 293,
amd64_sys_getrandom = 318
};
/* Enum that defines the syscall identifiers for x32 linux.