Subject: Re: kernel stack traces for other processes?
To: None <mycroft@gnu.ai.mit.edu, jtk@atria.com>
From: Mark Gooderum <gooderum@sctc.com>
List: port-i386
Date: 09/27/1994 09:55:55
> This seems like overkill, unless all the kernel stacks are mapped to the
> same address.  (Are they?  I haven't looked inside the kernel's VM
> layout for i386).  Couldn't DDB just be taught how to trace back a call
> chain given a stack pointer?  Then it shouldn't be too hard to teach ddb
> how to find the %esp for an arbitrary process.

I do believe that all kernel stacks are mapped at the same address, for
convenience and a few other reasons.

Look in locore.s and some of the other files in ...i386/i386.

-Mark