Date: Sat, 19 Apr 2003 14:07:36 +0400 From: Dmitry Sivachenko <demon@cavia.pp.ru> To: "Greg 'groggy' Lehey" <grog@FreeBSD.org> Cc: questions@FreeBSD.org Subject: Re: debugging kernel with remote gdb Message-ID: <20030419100736.GA62154@fling-wing.demos.su> In-Reply-To: <20030419035249.GI61510@wantadilla.lemis.com> References: <20030418144830.GA52968@fling-wing.demos.su> <20030419035249.GI61510@wantadilla.lemis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--cWoXeonUoKmBZSoM Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 19, 2003 at 01:22:49PM +0930, Greg 'groggy' Lehey wrote: > On Friday, 18 April 2003 at 18:48:30 +0400, Dmitry Sivachenko wrote: > > Hello! > > > > I have two machines: one IA32 running FreeBSD and the other SPARC > > running Solaris. I want to debug FreeBSD kernel using remote gdb. > > After reading developers handbook it is unclear whether it is > > possible to use my SPARC for that purpose? >=20 > Theoretically, yes. In practice, you'll need a version of gdb which > understands the ia32 instruction set, and I suspect you'll have to > build that yourself. You might get a more accurate answer on the > sparc64 mailing list. >=20 Well, I built gdb to understand i386-freebsd target (using --target option). The problem is that it seems stock gdb does not understand '-k' option (for kernel debugging). May be I am missing something obvious? --cWoXeonUoKmBZSoM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+oR/oEZSZYxPV34ARAoXlAJ95xLS+aggRoeSljyMb6H/dMCLTMACfX5pH QbRXORSChQqsjL6Zju5i8r8= =GzXD -----END PGP SIGNATURE----- --cWoXeonUoKmBZSoM--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030419100736.GA62154>