diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/catch-syscall.c')
-rw-r--r-- | gdb/testsuite/gdb.base/catch-syscall.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/catch-syscall.c b/gdb/testsuite/gdb.base/catch-syscall.c index 64850de..8f94191 100644 --- a/gdb/testsuite/gdb.base/catch-syscall.c +++ b/gdb/testsuite/gdb.base/catch-syscall.c @@ -8,9 +8,16 @@ September, 2008 */ #include <unistd.h> +#include <sys/syscall.h> #include <fcntl.h> #include <sys/stat.h> +/* These are the syscalls numbers used by the test. */ + +static int close_syscall = SYS_close; +static int chroot_syscall = SYS_chroot; +static int exit_group_syscall = SYS_exit_group; + int main (void) { |