Add workaround from gdbserver's gdb_proc_service.h to GDB
authorGary Benson <gbenson@redhat.com>
Mon, 1 Oct 2018 09:37:39 +0000 (10:37 +0100)
committerGary Benson <gbenson@redhat.com>
Mon, 1 Oct 2018 09:37:39 +0000 (10:37 +0100)
commit43b7e92b0c73d693d3b656b84b2a1181e40477ca
tree67c903d2e6e885643849f3833847b75dd88a0c71
parent3795e814428a269a3528d3d9a86da957449fc5b6
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.
gdb/ChangeLog
gdb/config.in
gdb/configure
gdb/configure.ac
gdb/gdb_proc_service.h
This page took 0.027091 seconds and 4 git commands to generate.