[PATCH 2/5] Add workaround from gdbserver's gdb_proc_service.h to GDB
Tom Tromey
tom@tromey.com
Fri Sep 28 19:34:00 GMT 2018
>>>>> "Gary" == Gary Benson <gbenson@redhat.com> writes:
Gary> This commit adds a workaround from gdbserver's gdb_proc_service.h
Gary> to GDB's. It doesn't seem to have been needed on any glibc as far
Gary> back as 2001, but it's possibly required for other C libraries so
Gary> I've retained it.
This is ok.
Gary> * configure.ac: Check if sys/procfs.h defines elf_fpregset_t.
Gary> (AC_CHECK_HEADERS): Check for linux/elf.h.
Gary> * configure, config.in: Rebuild.
Gary> * gdb_proc_service.h: Include linux/elf.h if sys/procfs.h
Gary> doesn't define elf_fpregset_t.
It's mildly a shame to have to do this stuff for something so obsolete,
but on the other hand, due to caching I suppose it will hardly slow down
the build.
Tom
More information about the Gdb-patches
mailing list