Re: Memory regions
- From: Bjarni Juliusson <bjarni@xxxxxxxxxxxx>
- Date: Thu, 28 May 2009 17:37:49 +0200
new wrote:
Hi Experts,
How can I check the memory regions occupied by the c program in linux
gcc
compiler ?
Any commands?
My intention is to check for the variables defined in the
program,whether it is in text,data,stack or heap regions.
Thanks for the help.
Static variables are in the data segment, automatic variables are or the stack.
Bjarni
--
INFORMATION WANTS TO BE FREE
.
- References:
- Memory regions
- From: new
- Memory regions
- Prev by Date: Re: Help: Core was generated
- Next by Date: Re: How to check whether a Linux command exists in C program like "which <command_name>" in shell?
- Previous by thread: Memory regions
- Next by thread: Re: Memory regions
- Index(es):
Relevant Pages
|