From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Shrikanth Ramanath" Subject: Runtime memory organization for a process Date: Fri, 24 Mar 2006 18:14:32 +0530 Message-ID: <3ce33f6c0603240444m39ffb49bk7540a291a0959ade@mail.gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7BIT Return-path: Content-Disposition: inline Sender: linux-c-programming-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-c-programming@vger.kernel.org If I run a executable for a process ( say I have written a simple c program and then compiled it to create a a.out executable), so on the bash console I run ./a.out, now my query is can I use GDB and find out variable stored in stack , heap, say more refined I want to see the bss , global storage area for a process using gdb ... how can I do that ??