Author: manu
Date: Thu May 10 09:37:50 2018
New Revision: 333455
URL: https://svnweb.freebsd.org/changeset/base/333455

Log:
  arm64: Add ALT_BREAK_TO_DEBUGGER to GENERIC
  
  It is useful to enter kdb with an escape sequence.
  While here move the USB_DEBUG with the others debug options and define
  nooptions USB_DEBUG for GENERIC-NODEBUG

Modified:
  head/sys/arm64/conf/GENERIC
  head/sys/arm64/conf/GENERIC-NODEBUG

Modified: head/sys/arm64/conf/GENERIC
==============================================================================
--- head/sys/arm64/conf/GENERIC Thu May 10 09:32:59 2018        (r333454)
+++ head/sys/arm64/conf/GENERIC Thu May 10 09:37:50 2018        (r333455)
@@ -90,6 +90,8 @@ options       INVARIANT_SUPPORT       # Extra sanity checks 
of in
 options        WITNESS                 # Enable checks to detect deadlocks and 
cycles
 options        WITNESS_SKIPSPIN        # Don't run witness on spinlocks for 
speed
 options        MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones
+options        ALT_BREAK_TO_DEBUGGER   # Enter debugger on keyboard escape 
sequence
+options        USB_DEBUG               # enable debug msgs
 
 # SoC support
 options        SOC_ALLWINNER_A64
@@ -162,7 +164,6 @@ device              uart_snps
 device         pl011
 
 # USB support
-options        USB_DEBUG               # enable debug msgs
 device         aw_ehci                 # Allwinner EHCI USB interface (USB 2.0)
 device         aw_usbphy               # Allwinner USB PHY
 device         dwcotg                  # DWC OTG controller

Modified: head/sys/arm64/conf/GENERIC-NODEBUG
==============================================================================
--- head/sys/arm64/conf/GENERIC-NODEBUG Thu May 10 09:32:59 2018        
(r333454)
+++ head/sys/arm64/conf/GENERIC-NODEBUG Thu May 10 09:37:50 2018        
(r333455)
@@ -37,4 +37,4 @@ nooptions       WITNESS_SKIPSPIN
 nooptions       BUF_TRACKING
 nooptions       DEADLKRES
 nooptions       FULL_BUF_TRACKING
-
+nooptions       USB_DEBUG
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to