diff options
author | John Baldwin <jhb@FreeBSD.org> | 2023-03-06 16:55:22 -0800 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2023-03-06 16:55:22 -0800 |
commit | cf622c39abfa8fe1df1a019020a529a81572ca7b (patch) | |
tree | eef1e37b0113cb994ffb77d20f07f590e830ecb5 /binutils/strings.c | |
parent | 3c75f00adcea9d57c0d92669249dd884e49c4c3b (diff) | |
download | binutils-cf622c39abfa8fe1df1a019020a529a81572ca7b.zip binutils-cf622c39abfa8fe1df1a019020a529a81572ca7b.tar.gz binutils-cf622c39abfa8fe1df1a019020a529a81572ca7b.tar.bz2 |
gdb.base/catch-syscall.exp: Remove some Linux-only assumptions.
- Some OS's use a different syscall for exit(). For example, the
BSD's use SYS_exit rather than SYS_exit_group. Update the C source
file and the expect script to support SYS_exit as an alternative to
SYS_exit_group.
- The cross-arch syscall number tests are all Linux-specific with
hardcoded syscall numbers specific to Linux kernels. Skip these
tests on non-Linux systems. FreeBSD kernels for example use the
same system call numbers on all platforms, so the test is also not
relevant on FreeBSD.
Diffstat (limited to 'binutils/strings.c')
0 files changed, 0 insertions, 0 deletions