git: 7c1344084540 - main - arm: add options GDB to std.armv6 and std.armv7

Mitchell Horne mhorne at FreeBSD.org
Tue Mar 30 15:05:03 UTC 2021


The branch main has been updated by mhorne:

URL: https://cgit.FreeBSD.org/src/commit/?id=7c134408454072666dd9338c285817ab6850f663

commit 7c134408454072666dd9338c285817ab6850f663
Author:     Mitchell Horne <mhorne at FreeBSD.org>
AuthorDate: 2021-03-04 20:53:12 +0000
Commit:     Mitchell Horne <mhorne at FreeBSD.org>
CommitDate: 2021-03-30 15:04:24 +0000

    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
---
 sys/arm/conf/std.armv6 | 1 +
 sys/arm/conf/std.armv7 | 1 +
 2 files changed, 2 insertions(+)

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


More information about the dev-commits-src-all mailing list