mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
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.
This commit is contained in:
parent
43b7e92b0c
commit
358ffcf28c
@ -1,3 +1,8 @@
|
||||
2018-10-01 Gary Benson <gbenson@redhat.com>
|
||||
|
||||
* gdb_proc_service.h: Use elf_gregset_t if prgregset_t is
|
||||
undefined. Use elf_fpregset_t if prfpregset_t is undefined.
|
||||
|
||||
2018-10-01 Gary Benson <gbenson@redhat.com>
|
||||
|
||||
* configure.ac: Check if sys/procfs.h defines elf_fpregset_t.
|
||||
|
@ -96,11 +96,11 @@ typedef void *psaddr_t;
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_PRGREGSET_T
|
||||
typedef gdb_gregset_t prgregset_t;
|
||||
typedef elf_gregset_t prgregset_t;
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_PRFPREGSET_T
|
||||
typedef gdb_fpregset_t prfpregset_t;
|
||||
typedef elf_fpregset_t prfpregset_t;
|
||||
#endif
|
||||
|
||||
/* This type is opaque in this interface. It's defined by the user of
|
||||
|
Loading…
Reference in New Issue
Block a user