diff options
author | John Baldwin <jhb@FreeBSD.org> | 2017-06-26 18:18:19 -0700 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2017-07-11 09:47:14 -0700 |
commit | 0aa37b654c0f31e446ab47826f0bcbec15d0112f (patch) | |
tree | 2bb5bea9eb9b56fd636727aceb5f48b376f38be9 /gdb/hppa-linux-tdep.c | |
parent | 48aeef91c248291dd03583798904612426b1f40a (diff) | |
download | gdb-0aa37b654c0f31e446ab47826f0bcbec15d0112f.zip gdb-0aa37b654c0f31e446ab47826f0bcbec15d0112f.tar.gz gdb-0aa37b654c0f31e446ab47826f0bcbec15d0112f.tar.bz2 |
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.
Diffstat (limited to 'gdb/hppa-linux-tdep.c')
0 files changed, 0 insertions, 0 deletions