Testcases for stepping over thread exit syscall (PR gdb/27338)
[binutils-gdb.git] / gdb / testsuite / lib / my-syscalls.S
index 38299e45284ea7eb3ad20a6f2b66c11ed73653fc..02196dd9555c8f7f58592d92ef28f20c660923f3 100644 (file)
@@ -69,4 +69,8 @@ NAME ## _syscall:             ;\
 
 SYSCALL (my_execve, __NR_execve)
 
+/* void my_exit (int code);  */
+
+SYSCALL (my_exit, __NR_exit)
+
        .section        .note.GNU-stack,"",@progbits