diff options
| author | rin <rin@NetBSD.org> | 2020-08-10 06:32:57 +0000 |
|---|---|---|
| committer | rin <rin@NetBSD.org> | 2020-08-10 06:32:57 +0000 |
| commit | 6411c1187f3fd6bc0bae157452544b2902e3758a (patch) | |
| tree | 86b9ad7d7612c8953e563e88d83050e384779ab8 /sys/arch/sun3 | |
| parent | 39a91a8a6b09f9b84a6b765062ba24d493568c82 (diff) | |
Add -fno-omit-frame-pointer to m68k kernels with DDB for backtraces.
-omit-frame-pointer is enabled for -O1 and higher for GCC8 by default.
Diffstat (limited to 'sys/arch/sun3')
| -rw-r--r-- | sys/arch/sun3/conf/GENERIC | 8 | ||||
| -rw-r--r-- | sys/arch/sun3/conf/GENERIC3X | 8 |
2 files changed, 10 insertions, 6 deletions
diff --git a/sys/arch/sun3/conf/GENERIC b/sys/arch/sun3/conf/GENERIC index 9952654cac2..eda3f4a9303 100644 --- a/sys/arch/sun3/conf/GENERIC +++ b/sys/arch/sun3/conf/GENERIC @@ -1,4 +1,4 @@ -# $NetBSD: GENERIC,v 1.183 2020/08/01 08:20:52 maxv Exp $ +# $NetBSD: GENERIC,v 1.184 2020/08/10 06:32:58 rin Exp $ # # GENERIC machine description file # @@ -25,9 +25,11 @@ include "arch/sun3/conf/std.sun3" #options INCLUDE_CONFIG_FILE # embed config file in kernel binary -#ident "GENERIC-$Revision: 1.183 $" +#ident "GENERIC-$Revision: 1.184 $" -makeoptions COPTS="-Os -fno-unwind-tables" # bootloader has size limit (~2MB) +makeoptions COPTS="-Os -fno-unwind-tables -fno-omit-frame-pointer" + # Bootloader has size limit (~2MB). -fno-omit-frame-pointer is + # necessary for backtraces in DDB. # Machines to be supported by this kernel options FPU_EMULATE diff --git a/sys/arch/sun3/conf/GENERIC3X b/sys/arch/sun3/conf/GENERIC3X index f27b9db411a..c4ba193ed0d 100644 --- a/sys/arch/sun3/conf/GENERIC3X +++ b/sys/arch/sun3/conf/GENERIC3X @@ -1,4 +1,4 @@ -# $NetBSD: GENERIC3X,v 1.136 2020/08/01 08:20:52 maxv Exp $ +# $NetBSD: GENERIC3X,v 1.137 2020/08/10 06:32:58 rin Exp $ # GENERIC Sun3X (3/80, 3/470) # Supports root on: ie0, le0, sd*, ... @@ -7,9 +7,11 @@ include "arch/sun3/conf/std.sun3x" #options INCLUDE_CONFIG_FILE # embed config file in kernel binary -#ident "GENERIC3X-$Revision: 1.136 $" +#ident "GENERIC3X-$Revision: 1.137 $" -makeoptions COPTS="-Os -fno-unwind-tables" # bootloader has size limit (~2MB) +makeoptions COPTS="-Os -fno-unwind-tables -fno-omit-frame-pointer" + # Bootloader has size limit (~2MB). -fno-omit-frame-pointer is + # necessary for backtraces in DDB. # Machines to be supported by this kernel #options FPU_EMULATE # XXX - Ever needed? |
