diff options
author | Joel Brobecker <brobecker@adacore.com> | 2017-01-17 13:08:02 +0100 |
---|---|---|
committer | Joel Brobecker <brobecker@adacore.com> | 2017-01-20 03:47:16 -0500 |
commit | 2132fe850322e10313d94d505f7ea268f9524ba0 (patch) | |
tree | 9c673ad05e65e2f83ade9c000a6f9cf9c2538a26 /zlib/deflate.c | |
parent | 8b5a555d0948f0f1f38742c51ac8e53f8e79ba29 (diff) | |
download | gdb-2132fe850322e10313d94d505f7ea268f9524ba0.zip gdb-2132fe850322e10313d94d505f7ea268f9524ba0.tar.gz gdb-2132fe850322e10313d94d505f7ea268f9524ba0.tar.bz2 |
fix gdbserver build in nat/linux-ptrace.c on arm-android
The following change replaced an include of gregset.h by
an include of <sys/procfs.h>:
commit 39b22471578843019026c50fcdbe0483a6045970
Date: Thu Aug 11 12:01:22 2016 +0100
Subject: Fix fallout from gdb/20413's fix
(x32: linux_ptrace_test_ret_to_nx: Cannot PTRACE_PEEKUSER)
Unfortunately, this broke gdbserver on Android, because that file
does not exist on this platform. This patch fixes the issue by
conditionalizing its include with HAVE_SYS_PROCFS_H (which we check
both in gdb/configure and gdbserver/configure).
gdb/ChangeLog:
* nat/linux-ptrace.c: Only include <sys/procfs.h> if
HAVE_SYS_PROCFS_H is defined.
Tested by rebuilding gdbserver on arm-android and GNU/Linux.
Diffstat (limited to 'zlib/deflate.c')
0 files changed, 0 insertions, 0 deletions