Date: Sun, 28 Dec 1997 12:03:04 +1100 From: Bruce Evans <bde@zeta.org.au> To: bde@zeta.org.au, skynyrd@opus.cts.cwu.edu Cc: freebsd-current@FreeBSD.ORG Subject: Re: no boot: config -g and options DDB Message-ID: <199712280103.MAA00351@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>It says that in the section about remote debugging using gdb. Should I be >able to boot a kernel that is config -g'd with options DDB and not >stripped? Actually I'm not really trying to do remote kernel debugging >with gdb. Depends how much memory you have. >I was thinking that I would want to config -g to make a more interesting >dump when I call panic from in ddb, allowing me to do some poking later >with KGDB. > >How does BRUCE do it??? :) I normally use ddb. If I want to look at a panic dump using gdb -k (kgdb doesn't exist), then I compile a matching kernel with -g. If I want to be sure that it's the same kernel, then I read strip.1 to relearn the correct strip flag (-d) and then strip a copy and compare it with the dumped kernel. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712280103.MAA00351>