Date: Mon, 3 Sep 2007 17:09:52 +1000 From: Greg 'groggy' Lehey <grog@FreeBSD.org> To: "Andrey V. Elsukov" <bu7cher@yandex.ru> Cc: freebsd-hackers@freebsd.org Subject: Re: Remote GDB howto Message-ID: <20070903070952.GB32893@dereel.lemis.com> In-Reply-To: <46DBB0AE.90106@yandex.ru> References: <46DBB0AE.90106@yandex.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
--IrhDeMKUP4DT/M7F Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Monday, 3 September 2007 at 10:58:54 +0400, Andrey V. Elsukov wrote: > Hi, > > I want to debug my kernel with modules through serial console. > I have two machines with 7.0-CURRENT. > What i do: > ... > > What i've missed? You're a bit sketchy on the details that I've omitted here. What happens between these two lines? > (kgdb) target remote /dev/cuad0 > (kgdb) add-symbol-file /path/to/local/copy/of/file You should have some communication with the remote machine between these two lines. Have you followed my tutorial? http://www.lemis.com/grog/Papers/Debug-tutorial/ Greg -- See complete headers for address and phone numbers. --IrhDeMKUP4DT/M7F Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFG27NAIubykFB6QiMRAqXcAJ9O61hfh/xh9oGdETaWBrtm7e/wwgCeNwoQ FRuKheHgfM2xEi3zr1Nh71g= =vTz0 -----END PGP SIGNATURE----- --IrhDeMKUP4DT/M7F--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070903070952.GB32893>