projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Testcases for stepping over thread exit syscall (PR gdb/27338)
[binutils-gdb.git]
/
gdb
/
testsuite
/
lib
/
my-syscalls.h
diff --git
a/gdb/testsuite/lib/my-syscalls.h
b/gdb/testsuite/lib/my-syscalls.h
index cdce05058f9362cb5b509b7aeda27a2e50ff1ac1..7f9ae387427884237eb9b37267d2943ae08be16d 100644
(file)
--- a/
gdb/testsuite/lib/my-syscalls.h
+++ b/
gdb/testsuite/lib/my-syscalls.h
@@
-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 */