aboutsummaryrefslogtreecommitdiff
path: root/sys/arm
diff options
context:
space:
mode:
authorMitchell Horne <mhorne@FreeBSD.org>2021-03-04 20:53:12 +0000
committerMitchell Horne <mhorne@FreeBSD.org>2021-03-30 15:04:24 +0000
commit7c134408454072666dd9338c285817ab6850f663 (patch)
treedd6b5c4c5b9da9cb1f8e8a538b1d7e5a2237e57e /sys/arm
parent7069b4c6a4e516e1435d8beb7a436d88193156d3 (diff)
downloadsrc-7c134408454072666dd9338c285817ab6850f663.tar.gz
src-7c134408454072666dd9338c285817ab6850f663.zip
arm: add options GDB to std.armv6 and std.armv7
There are now options for specifying the debug port via tunable (hw.fdt.dbgport) and device tree (/chosen/freebsd-dbgpath), so this can be usefully included in GENERIC. MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D29152
Diffstat (limited to 'sys/arm')
-rw-r--r--sys/arm/conf/std.armv61
-rw-r--r--sys/arm/conf/std.armv71
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/arm/conf/std.armv6 b/sys/arm/conf/std.armv6
index 6db6c7a16dd7..5f7fb1ebb221 100644
--- a/sys/arm/conf/std.armv6
+++ b/sys/arm/conf/std.armv6
@@ -63,6 +63,7 @@ options KDB_TRACE # Print a stack trace for a panic.
# For full debugger support use (turn off in stable branch):
options DDB # Support DDB
+options GDB # Support remote GDB
#options DEADLKRES # Enable the deadlock resolver
options INVARIANTS # Enable calls of extra sanity checking
options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS
diff --git a/sys/arm/conf/std.armv7 b/sys/arm/conf/std.armv7
index 0b842ad1f4e4..2d1dfa135780 100644
--- a/sys/arm/conf/std.armv7
+++ b/sys/arm/conf/std.armv7
@@ -63,6 +63,7 @@ options KDB_TRACE # Print a stack trace for a panic.
# For full debugger support use (turn off in stable branch):
options DDB # Support DDB
+options GDB # Support remote GDB
#options DEADLKRES # Enable the deadlock resolver
options INVARIANTS # Enable calls of extra sanity checking
options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS