aboutsummaryrefslogtreecommitdiff
path: root/gdb/arm-linux-tdep.c
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/arm-linux-tdep.c
parent3f6227c2f40a3e6009c60483f464e349d30145bb (diff)
downloadgdb-43f074cde435be5d9ee0cf2f264a70cd539c1983.zip
gdb-43f074cde435be5d9ee0cf2f264a70cd539c1983.tar.gz
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/arm-linux-tdep.c')
-rw-r--r--gdb/arm-linux-tdep.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/arm-linux-tdep.c b/gdb/arm-linux-tdep.c
index f299e96..33406f9 100644
--- a/gdb/arm-linux-tdep.c
+++ b/gdb/arm-linux-tdep.c
@@ -1610,6 +1610,7 @@ arm_canonicalize_syscall (int syscall)
case 378: return gdb_sys_kcmp;
case 379: return gdb_sys_finit_module;
*/
+ case 384: return gdb_sys_getrandom;
case 983041: /* ARM_breakpoint */ return gdb_sys_no_syscall;
case 983042: /* ARM_cacheflush */ return gdb_sys_no_syscall;
case 983043: /* ARM_usr26 */ return gdb_sys_no_syscall;