[binutils-gdb] Support the fs_base and gs_base registers on FreeBSD/amd64 native processes.
sergiodj+buildbot@sergiodj.net
sergiodj+buildbot@sergiodj.net
Tue Jul 11 18:36:00 GMT 2017
*** TEST RESULTS FOR COMMIT 0aa37b654c0f31e446ab47826f0bcbec15d0112f ***
Author: John Baldwin <jhb@FreeBSD.org>
Branch: master
Commit: 0aa37b654c0f31e446ab47826f0bcbec15d0112f
Support the fs_base and gs_base registers on FreeBSD/amd64 native processes.
Use ptrace operations to fetch and store the fs_base and gs_base registers
for FreeBSD/amd64 processes. Note that FreeBSD does not currently store the
value of these registers in core dumps, so these registers are only
available when inspecting a running process.
gdb/ChangeLog:
* amd64-bsd-nat.c (amd64bsd_fetch_inferior_registers): Use
PT_GETFSBASE and PT_GETGSBASE.
(amd64bsd_store_inferior_registers): Use PT_SETFSBASE and
PT_SETGSBASE.
More information about the Gdb-testers
mailing list