From: Daniel Berlin <dan@cgsoftware.com>
To: Vikram Pandita <pvikram@miel.mot.com>
Cc: gdb@sourceware.cygnus.com
Subject: Re: stack usage query
Date: Sun, 08 Apr 2001 23:02:00 -0000 [thread overview]
Message-ID: <m24rvybogb.fsf@dynamic-addr-83-177.resnet.rochester.edu> (raw)
In-Reply-To: <3AD14746.C72D2577@miel.mot.com>
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.
prev parent reply other threads:[~2001-04-08 23:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-08 22:23 Vikram Pandita
2001-04-08 23:02 ` Daniel Berlin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m24rvybogb.fsf@dynamic-addr-83-177.resnet.rochester.edu \
--to=dan@cgsoftware.com \
--cc=gdb@sourceware.cygnus.com \
--cc=pvikram@miel.mot.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox