aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdb_proc_service.h
diff options
context:
space:
mode:
authorGary Benson <gbenson@redhat.com>2018-10-01 10:37:39 +0100
committerGary Benson <gbenson@redhat.com>2018-10-01 10:37:39 +0100
commit358ffcf28cf6e7c23311e91869ada4c480527d93 (patch)
tree1107810100263a831ec95c0d623140a0ba89c204 /gdb/gdb_proc_service.h
parent43b7e92b0c73d693d3b656b84b2a1181e40477ca (diff)
downloadgdb-358ffcf28cf6e7c23311e91869ada4c480527d93.zip
gdb-358ffcf28cf6e7c23311e91869ada4c480527d93.tar.gz
gdb-358ffcf28cf6e7c23311e91869ada4c480527d93.tar.bz2
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.
Diffstat (limited to 'gdb/gdb_proc_service.h')
-rw-r--r--gdb/gdb_proc_service.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/gdb_proc_service.h b/gdb/gdb_proc_service.h
index ee9358d..16cf512 100644
--- a/gdb/gdb_proc_service.h
+++ b/gdb/gdb_proc_service.h
@@ -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