From owner-p4-projects@FreeBSD.ORG Thu Mar 11 00:14:55 2004 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 4516E16A4D0; Thu, 11 Mar 2004 00:14:55 -0800 (PST) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1AA2316A4CE for ; Thu, 11 Mar 2004 00:14:55 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10BC443D2D for ; Thu, 11 Mar 2004 00:14:55 -0800 (PST) (envelope-from marcel@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i2B8EsGe035294 for ; Thu, 11 Mar 2004 00:14:54 -0800 (PST) (envelope-from marcel@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i2B8EsT9035291 for perforce@freebsd.org; Thu, 11 Mar 2004 00:14:54 -0800 (PST) (envelope-from marcel@freebsd.org) Date: Thu, 11 Mar 2004 00:14:54 -0800 (PST) Message-Id: <200403110814.i2B8EsT9035291@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to marcel@freebsd.org using -f From: Marcel Moolenaar To: Perforce Change Reviews Subject: PERFORCE change 48691 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Mar 2004 08:14:55 -0000 http://perforce.freebsd.org/chv.cgi?CH=48691 Change 48691 by marcel@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