]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Add an x86_fbsd_nat_target mixin class for FreeBSD x86 native targets.
authorJohn Baldwin <jhb@FreeBSD.org>
Tue, 22 Mar 2022 19:05:43 +0000 (12:05 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Fri, 27 May 2022 21:17:34 +0000 (14:17 -0700)
commit68f5e8f6e51be656fc0879cca1cec44539ca313e
tree6ebc3807ffe4d4ed12f6666916728153420ad314
parentea5565ec24b4df0ee8a86fe2fa506d9f62741a49
Add an x86_fbsd_nat_target mixin class for FreeBSD x86 native targets.

This class implements debug register support common between the i386
and amd64 native targets.

While here, remove #ifdef's for HAVE_PT_GETDBREGS in FreeBSD-specific
code.  The ptrace request has been present on FreeBSD x86
architectures since 4.0 (released in March 2000).  The last FreeBSD
release without this support is 3.5 released in June 2000.

(cherry picked from commit a49ce729c808b5762faf948a34e6159a6d8874de)
gdb/amd64-fbsd-nat.c
gdb/i386-fbsd-nat.c
gdb/x86-fbsd-nat.h [new file with mode: 0644]