]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
x86-bsd-nat: Only define gdb_ptrace when using debug registers.
authorJohn Baldwin <jhb@FreeBSD.org>
Thu, 29 Jul 2021 20:16:29 +0000 (13:16 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Thu, 29 Jul 2021 20:16:29 +0000 (13:16 -0700)
commit9f07c7700101a4a69e4f78a0cfd16403228694ee
tree15bde7e7c0239a72bc90b761dda8008bec513bf9
parent757e686afb4ac97bcf9333b10a6a0880bdd310f8
x86-bsd-nat: Only define gdb_ptrace when using debug registers.

This fixes an unused function warning on OpenBSD which does not
support PT_GETDBREGS.
gdb/x86-bsd-nat.c