stack usage query

Daniel Berlin dan@cgsoftware.com
Sun Apr 8 23:02:00 GMT 2001


Vikram Pandita <pvikram@miel.mot.com> writes:

In terms of memory size?
You don't.

Well, you could always just look at the current stack pointer, go up a
frame, look at the current stakc pointer, and subtract/add (depends on
if your stack grows up or down).


> How do i get the stack usage by a Process/Thread using gdb?

-- 
When I was little, my grandfather used to make me stand in a
closet for five minutes without moving.  He said it was elevator
practice.



More information about the Gdb mailing list