Subject: Re: debugging a crash dump -- getting backtraces
To: Ethan Solomita <>
From: Manuel Bouyer <>
List: tech-kern
Date: 01/27/2000 14:53:03
On Wed, Jan 26, 2000 at 03:30:55PM -0800, Ethan Solomita wrote:
> 	This is probably an FAQ question (in fact it is one), but how to I get
> backtraces of an arbitrary process from gdb when debugging a kernel core
> dump? The FAQ mentions typing "bt", but that only seems to give me a
> backtrace for the process that called cpu_reboot().

1) get the proc addr of the process:
ps -ax -O paddr -M netbsd.x.core
2) tell gdb to use id:
proc 0x<addr>

Manuel Bouyer, LIP6, Universite Paris VI.