diff options
author | Gary Benson <gbenson@redhat.com> | 2018-10-01 10:37:39 +0100 |
---|---|---|
committer | Gary Benson <gbenson@redhat.com> | 2018-10-01 10:37:39 +0100 |
commit | 43b7e92b0c73d693d3b656b84b2a1181e40477ca (patch) | |
tree | 67c903d2e6e885643849f3833847b75dd88a0c71 /gdb/proc-service.c | |
parent | 3795e814428a269a3528d3d9a86da957449fc5b6 (diff) | |
download | binutils-43b7e92b0c73d693d3b656b84b2a1181e40477ca.zip binutils-43b7e92b0c73d693d3b656b84b2a1181e40477ca.tar.gz binutils-43b7e92b0c73d693d3b656b84b2a1181e40477ca.tar.bz2 |
Add workaround from gdbserver's gdb_proc_service.h to GDB
This commit adds a workaround from gdbserver's gdb_proc_service.h
to GDB's. It doesn't seem to have been needed on any glibc as far
back as 2001, but it's possibly required for other C libraries so
I've retained it.
gdb/ChangeLog:
* configure.ac: Check if sys/procfs.h defines elf_fpregset_t.
(AC_CHECK_HEADERS): Check for linux/elf.h.
* configure, config.in: Rebuild.
* gdb_proc_service.h: Include linux/elf.h if sys/procfs.h
doesn't define elf_fpregset_t.
Diffstat (limited to 'gdb/proc-service.c')
0 files changed, 0 insertions, 0 deletions