Update GDB gdb_proc_service.h workaround to match gdbserver
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)
commit358ffcf28cf6e7c23311e91869ada4c480527d93
tree1107810100263a831ec95c0d623140a0ba89c204
parent43b7e92b0c73d693d3b656b84b2a1181e40477ca
Update GDB gdb_proc_service.h workaround to match gdbserver

This commit updates GDB's gdb_proc_service.h to use elf_{g,fp}regset_t
instead of gdb_{g,fp}regset_t if pr{g,fp}regset_t are undefined.
The types have been equivalent on GNU/Linux since at least 2005.

gdb/ChangeLog:

* gdb_proc_service.h: Use elf_gregset_t if prgregset_t is
undefined.  Use elf_fpregset_t if prfpregset_t is undefined.
gdb/ChangeLog
gdb/gdb_proc_service.h