binutils-gdb/gdb/nat
Tom Tromey 0b03c6f03d Fix build on rhES5
The rhES5 build failed due to an upstream import a while back.  The
bug here is that, while the 'personality' function exists,
ADDR_NO_RANDOMIZE is only defined in <linux/personality.h>, not
<sys/personality.h>.

However, <linux/personality.h> does not declare the 'personality'
function, and <sys/personality.h> and <linux/personality.h> cannot
both be included.

This patch restores one of the removed configure checks and updates
the code to check it.

We had this as a local patch at AdaCore, because it seemed like there
was no interest upstream.  However, now it turns out that this fixes
PR build/28555, so I'm sending it now.
2021-11-09 08:21:18 -07:00
..
aarch64-linux-hw-point.c Fix ARMv8.4 for hw watchpoint and breakpoint 2021-10-21 19:02:02 +00:00
aarch64-linux-hw-point.h Fix ARMv8.4 for hw watchpoint and breakpoint 2021-10-21 19:02:02 +00:00
aarch64-linux.c
aarch64-linux.h
aarch64-mte-linux-ptrace.c
aarch64-mte-linux-ptrace.h
aarch64-sve-linux-ptrace.c
aarch64-sve-linux-ptrace.h
aarch64-sve-linux-sigcontext.h
amd64-linux-siginfo.c
amd64-linux-siginfo.h
fork-inferior.c gdb, gdbserver: make target_waitstatus safe 2021-10-21 16:13:56 -04:00
fork-inferior.h
gdb_ptrace.h
gdb_thread_db.h
glibc_thread_db.h
linux-btrace.c
linux-btrace.h
linux-namespaces.c gdbsupport: make gdb_open_cloexec return scoped_fd 2021-09-30 15:21:48 -04:00
linux-namespaces.h
linux-nat.h
linux-osdata.c
linux-osdata.h
linux-personality.c Fix build on rhES5 2021-11-09 08:21:18 -07:00
linux-personality.h
linux-procfs.c
linux-procfs.h
linux-ptrace.c
linux-ptrace.h
linux-waitpid.c
linux-waitpid.h
mips-linux-watch.c
mips-linux-watch.h
netbsd-nat.c
netbsd-nat.h
ppc-linux.c
ppc-linux.h
riscv-linux-tdesc.c
riscv-linux-tdesc.h
windows-nat.c gdb, gdbserver: make target_waitstatus safe 2021-10-21 16:13:56 -04:00
windows-nat.h
x86-cpuid.h
x86-dregs.c
x86-dregs.h
x86-gcc-cpuid.h
x86-linux-dregs.c
x86-linux-dregs.h
x86-linux.c
x86-linux.h