aboutsummaryrefslogtreecommitdiff
path: root/gdb/amd64-linux-tdep.h
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2022-07-12 15:15:19 +0200
committerTom de Vries <tdevries@suse.de>2022-07-12 15:15:19 +0200
commit43f074cde435be5d9ee0cf2f264a70cd539c1983 (patch)
tree5fc0ea37fcc3780e3d354a337e0257a10edba1d8 /gdb/amd64-linux-tdep.h
parent3f6227c2f40a3e6009c60483f464e349d30145bb (diff)
downloadfsf-binutils-gdb-43f074cde435be5d9ee0cf2f264a70cd539c1983.zip
fsf-binutils-gdb-43f074cde435be5d9ee0cf2f264a70cd539c1983.tar.gz
fsf-binutils-gdb-43f074cde435be5d9ee0cf2f264a70cd539c1983.tar.bz2
[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
Diffstat (limited to 'gdb/amd64-linux-tdep.h')
-rw-r--r--gdb/amd64-linux-tdep.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/amd64-linux-tdep.h b/gdb/amd64-linux-tdep.h
index 184b0c8..ef111f4 100644
--- a/gdb/amd64-linux-tdep.h
+++ b/gdb/amd64-linux-tdep.h
@@ -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.