Testcases for stepping over thread exit syscall (PR gdb/27338)
[binutils-gdb.git] / gdb / testsuite / lib / my-syscalls.h
index cdce05058f9362cb5b509b7aeda27a2e50ff1ac1..7f9ae387427884237eb9b37267d2943ae08be16d 100644 (file)
@@ -22,4 +22,9 @@
 
 int my_execve (const char *file, char *argv[], char *envp[]);
 
+/* `exit` syscall, which makes the thread exit (as opposed to
+   `exit_group`, which makes the process exit).  */
+
+void my_exit (int code);
+
 #endif /* MY_SYSCALLS_H */