aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2003-05-30 01:03:43 +0000
committerPeter Wemm <peter@FreeBSD.org>2003-05-30 01:03:43 +0000
commitec2343a8e1c8b698d1c6ebecc5a9c96cffd389d4 (patch)
tree3604c5b8bd7a5c93dfeb6ba3e2977081a05053d3 /sys
parent5c980babcd6257a3479857d1c7e373d21dfb239c (diff)
downloadsrc-ec2343a8e1c8b698d1c6ebecc5a9c96cffd389d4.tar.gz
src-ec2343a8e1c8b698d1c6ebecc5a9c96cffd389d4.zip
Add ddb machdep bits.
Approved by: re (amd64 bits)
Notes
Notes: svn path=/head/; revision=115405
Diffstat (limited to 'sys')
-rw-r--r--sys/conf/Makefile.amd645
-rw-r--r--sys/conf/files.amd644
2 files changed, 9 insertions, 0 deletions
diff --git a/sys/conf/Makefile.amd64 b/sys/conf/Makefile.amd64
index b83d935745b6..8887992534d2 100644
--- a/sys/conf/Makefile.amd64
+++ b/sys/conf/Makefile.amd64
@@ -31,6 +31,11 @@ S= ../../..
.endif
.include "$S/conf/kern.pre.mk"
+DDB_ENABLED!= grep DDB opt_ddb.h
+.if ${DDB_ENABLED} != ""
+CFLAGS+= -fno-omit-frame-pointer
+.endif
+
MKMODULESENV+= MACHINE=amd64
%BEFORE_DEPEND
diff --git a/sys/conf/files.amd64 b/sys/conf/files.amd64
index 650bac4f4dea..8e1c68dbce52 100644
--- a/sys/conf/files.amd64
+++ b/sys/conf/files.amd64
@@ -44,10 +44,14 @@ dev/syscons/syscons.c optional sc
dev/syscons/sysmouse.c optional sc
isa/atkbd_isa.c optional atkbd
+amd64/amd64/amd64-gdbstub.c optional ddb
amd64/amd64/autoconf.c standard
amd64/amd64/busdma_machdep.c standard
amd64/amd64/cpu_switch.S standard
amd64/amd64/critical.c standard
+amd64/amd64/db_disasm.c optional ddb
+amd64/amd64/db_interface.c optional ddb
+amd64/amd64/db_trace.c optional ddb
amd64/amd64/dump_machdep.c standard
amd64/amd64/elf_machdep.c standard
amd64/amd64/exception.S standard