Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Feb 2001 23:53:25 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        rjesup@wgate.com
Cc:        arch@FreeBSD.ORG, bright@wintelcom.net (Alfred Perlstein), msinz@wgate.com (Mike Sinz), bbauman@wgate.com (Bruce Bauman)
Subject:   Re: ELF and diskless boot
Message-ID:  <200102232353.QAA01672@usr05.primenet.com>
In-Reply-To: <ybur90pxjwo.fsf_-_@jesup.eng.tvol.net.jesup.eng.tvol.net> from "Randell Jesup" at Feb 23, 2001 02:45:59 PM

next in thread | previous in thread | raw e-mail | index | archive | help
> FYI, is there a reason that we've set up our kernel interface to top, etc
> to fail unless the kernel (in this case 4.x) is loaded with _debugging_
> symbols?  I.e. if you strip a kernel, top (and a bunch of other stuff)
> doesn't work because they can't find certain kernel structures.  To make
> this worse, they also fail if you etherboot (because debug symbols aren't
> loaded).

Strip is supposed to be able to strip the debugging information
without stripping non-debugging information.  This is normally
how you run a source level debugger on the kernel from another
machine (or using VMware, julians pseudo-console-serial driver,
and another window on the same machine): you boot the stripped
kernel, and GDB with the unstripped kernel.

Sounds like you are either giving the wrong arguments to strip,
or it's not working on your platform (e.g. alpha).


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102232353.QAA01672>