Subject: Re: GCC3.3.1 switch coming soon.
To: Chuck Silvers <chuq@chuq.com>
From: Nathan J. Williams <nathanw@wasabisystems.com>
List: tech-kern
Date: 09/24/2003 12:06:18
Chuck Silvers <chuq@chuq.com> writes:

> On Wed, Sep 24, 2003 at 11:04:36AM -0400, Andrew Brown wrote:
> > it would also keep stack segment separate and distinct from other
> > segments in the core dumps.
> 
> the information on what's a stack and what's not will already be in
> the core dump in the pthreads internal datastructures, right?
> gdb already has to know about that to be able to do backtraces
> of the various user threads.

Right. Stack is just another memory region when it gets written out to
a core file, and debuggers use other data (the values of stack and
frame pointers, either in the register section or elsewhere) to figure
out what's stack. This part of it works fine.

        - Nathan