* [PUSHED OBV] aarch64-fbsd-nat: Move definition of debug_regs_probed under HAVE_DBREG.
@ 2022-05-26 21:16 John Baldwin
0 siblings, 0 replies; only message in thread
From: John Baldwin @ 2022-05-26 21:16 UTC (permalink / raw)
To: gdb-patches
This fixes the build on older FreeBSD systems without support for
hardware breakpoints/watchpoints.
---
gdb/aarch64-fbsd-nat.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gdb/aarch64-fbsd-nat.c b/gdb/aarch64-fbsd-nat.c
index fb7a29b5afb..d8cf6227e73 100644
--- a/gdb/aarch64-fbsd-nat.c
+++ b/gdb/aarch64-fbsd-nat.c
@@ -76,7 +76,6 @@ struct aarch64_fbsd_nat_target final : public fbsd_nat_target
};
static aarch64_fbsd_nat_target the_aarch64_fbsd_nat_target;
-bool aarch64_fbsd_nat_target::debug_regs_probed;
/* Fetch register REGNUM from the inferior. If REGNUM is -1, do this
for all registers. */
@@ -155,6 +154,8 @@ aarch64_fbsd_nat_target::read_description ()
}
#ifdef HAVE_DBREG
+bool aarch64_fbsd_nat_target::debug_regs_probed;
+
/* Set of threads which need to update debug registers on next resume. */
static std::unordered_set<lwpid_t> aarch64_debug_pending_threads;
--
2.36.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-05-26 21:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-26 21:16 [PUSHED OBV] aarch64-fbsd-nat: Move definition of debug_regs_probed under HAVE_DBREG John Baldwin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).