Support catch syscall on aarch64 linux
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / catch-syscall.c
index ea33b9383914f3eae74ec4c8b7d02080641cb55b..4d0131c0d7338085ae54883e0cb6e7959a044452 100644 (file)
@@ -21,7 +21,11 @@ int chroot_syscall = SYS_chroot;
    restart_syscall, which can't be called from userspace.  However,
    the "read" syscall is zero on x86_64.  */
 int read_syscall = SYS_read;
+#ifdef SYS_pipe
 int pipe_syscall = SYS_pipe;
+#else
+int pipe2_syscall = SYS_pipe2;
+#endif
 int write_syscall = SYS_write;
 int exit_group_syscall = SYS_exit_group;
 
This page took 0.024469 seconds and 4 git commands to generate.