PERFORCE change 48691 for review
Marcel Moolenaar
marcel at FreeBSD.org
Thu Mar 11 00:14:55 PST 2004
http://perforce.freebsd.org/chv.cgi?CH=48691
Change 48691 by marcel at marcel_nfs on 2004/03/11 00:14:25
o Add gdb/gdb_main.c, which declares the KDB backend and
defines the GDB debug port set.
o Implement gdb_init() so that debug ports are scanned.
o Hook gdb_main.c & uart_dbg.c into the build.
Note: the GDB backend does not define a trace function and
the enter function can be omitted as well (entry into the
kernel will then always happen through the trap function).
The trap function is not implemented.
Affected files ...
.. //depot/projects/gdb/sys/conf/files#6 edit
.. //depot/projects/gdb/sys/gdb/gdb_main.c#1 add
.. //depot/projects/gdb/sys/modules/uart/Makefile#2 edit
Differences ...
==== //depot/projects/gdb/sys/conf/files#6 (text+ko) ====
@@ -803,6 +803,7 @@
dev/uart/uart_bus_pci.c optional uart pci
dev/uart/uart_bus_puc.c optional uart puc
dev/uart/uart_core.c optional uart
+dev/uart/uart_dbg.c optional uart gdb
dev/uart/uart_dev_i8251.c optional uart
dev/uart/uart_dev_ns8250.c optional uart
dev/uart/uart_dev_sab82532.c optional uart
@@ -955,6 +956,7 @@
fs/unionfs/union_subr.c optional unionfs
fs/unionfs/union_vfsops.c optional unionfs
fs/unionfs/union_vnops.c optional unionfs
+gdb/gdb_main.c optional gdb
geom/bde/g_bde.c optional geom_bde
geom/bde/g_bde_crypt.c optional geom_bde
geom/bde/g_bde_lock.c optional geom_bde
==== //depot/projects/gdb/sys/modules/uart/Makefile#2 (text+ko) ====
@@ -9,7 +9,7 @@
KMOD= uart
SRCS= uart_bus_acpi.c ${uart_bus_ebus} uart_bus_isa.c uart_bus_pccard.c \
uart_bus_pci.c uart_bus_puc.c uart_core.c uart_cpu_${MACHINE}.c \
- uart_dev_i8251.c uart_dev_ns8250.c uart_dev_sab82532.c \
+ uart_dbg.c uart_dev_i8251.c uart_dev_ns8250.c uart_dev_sab82532.c \
uart_dev_z8530.c uart_if.c uart_tty.c
SRCS+= bus_if.h device_if.h isa_if.h pci_if.h uart_if.h power_if.h card_if.h
More information about the p4-projects
mailing list