From owner-freebsd-hackers@FreeBSD.ORG Sun Aug 29 22:20:26 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A997116A4CF for ; Sun, 29 Aug 2004 22:20:26 +0000 (GMT) Received: from ns1.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 811B843D54 for ; Sun, 29 Aug 2004 22:20:26 +0000 (GMT) (envelope-from marcel@xcllnt.net) Received: from dhcp53.pn.xcllnt.net (dhcp53.pn.xcllnt.net [192.168.4.253]) by ns1.xcllnt.net (8.13.1/8.13.1) with ESMTP id i7TMKPo8048103; Sun, 29 Aug 2004 15:20:26 -0700 (PDT) (envelope-from marcel@piii.pn.xcllnt.net) Received: from dhcp53.pn.xcllnt.net (localhost [127.0.0.1]) by dhcp53.pn.xcllnt.net (8.13.1/8.13.1) with ESMTP id i7TMKQWW023467; Sun, 29 Aug 2004 15:20:26 -0700 (PDT) (envelope-from marcel@dhcp53.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp53.pn.xcllnt.net (8.13.1/8.13.1/Submit) id i7TMKQ9O023466; Sun, 29 Aug 2004 15:20:26 -0700 (PDT) (envelope-from marcel) Date: Sun, 29 Aug 2004 15:20:25 -0700 From: Marcel Moolenaar To: Rob Deker Message-ID: <20040829222025.GA23449@dhcp53.pn.xcllnt.net> References: <1093817592.8552.90.camel@nyx.slackdot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1093817592.8552.90.camel@nyx.slackdot.org> User-Agent: Mutt/1.4.2.1i cc: freebsd-hackers@freebsd.org Subject: Re: Serial consoles and remote GDB X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Aug 2004 22:20:26 -0000 On Sun, Aug 29, 2004 at 06:13:12PM -0400, Rob Deker wrote: > > I'm doing some driver hacking w/ FreeBSD 5.2.1 and I've hit a spot where > my life would be much easier if I had remote GDB for kernel debugging. I > am however using a serial console on this box, and can't seem to get > things working so that I have console access to the box on one serial > port and remote gdb running on the other one. Is this possible? Yes. Your hints are not the problem. You need to tell the kernel that you want to use remote GDB. Boot with -g or set boot_gdb=YES in /boot/loader.conf -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net