From owner-freebsd-hackers@FreeBSD.ORG Tue Apr 20 17:09:35 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 D670016A4CE for ; Tue, 20 Apr 2004 17:09:35 -0700 (PDT) Received: from ozlabs.org (ozlabs.org [203.10.76.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84AFF43D41 for ; Tue, 20 Apr 2004 17:09:35 -0700 (PDT) (envelope-from grog@lemis.com) Received: from blackwater.lemis.com (blackwater.lemis.com [192.109.197.80]) by ozlabs.org (Postfix) with ESMTP id E54022BD85 for ; Wed, 21 Apr 2004 10:09:32 +1000 (EST) Received: by blackwater.lemis.com (Postfix, from userid 1004) id 4C93551224; Wed, 21 Apr 2004 09:39:30 +0930 (CST) Date: Wed, 21 Apr 2004 09:39:30 +0930 From: Greg 'groggy' Lehey To: "William M. Grim" Message-ID: <20040421000930.GC76172@wantadilla.lemis.com> References: <4084DCB4.9020404@siue.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="i7F3eY7HS/tUJxUd" Content-Disposition: inline In-Reply-To: <4084DCB4.9020404@siue.edu> User-Agent: Mutt/1.4.1i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 cc: hackers@freebsd.org Subject: Re: Remote Debugging using GDB on Linux 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: Wed, 21 Apr 2004 00:09:35 -0000 --i7F3eY7HS/tUJxUd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tuesday, 20 April 2004 at 3:17:56 -0500, William M. Grim wrote: > Hi! > > Is it possible to do remote debugging of the FreeBSD kernel over a > serial connection using Linux? FreeBSD has a special "-k" switch that > Linux does not for GDB; so, I'm not even sure it's possible without a > lot of work. I haven't tried it that way round, but I have debugged a Linux kernel over a serial line with FreeBSD gdb. That suggests that it might work the other way round, too. Unfortunately, my experience with NetBSD doesn't bear this out: I can debug a NetBSD kernel with FreeBSD gdb, but not the other way round. Greg -- Note: I discard all HTML mail unseen. Finger grog@FreeBSD.org for PGP public key. See complete headers for address and phone numbers. --i7F3eY7HS/tUJxUd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQFAhbu6IubykFB6QiMRAqnTAJ9Y3L+dufJyEzWAhyiQVkOndHmxVgCfYAKd hb93y4pIquUkCiqFmm34c5g= =lWPd -----END PGP SIGNATURE----- --i7F3eY7HS/tUJxUd--