Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Nityananda <j.nityananda@gmail.com>
To: gdb@sourceware.org
Subject: Help needed with browsing GDB code
Date: Fri, 06 Feb 2009 02:26:00 -0000	[thread overview]
Message-ID: <249DE25A-9555-4D36-8C59-56EF08F2E34A@gmail.com> (raw)

Hi,
My name is Nityananda. I am reading the source code of GDB and was  
stuck unable to find a certain part of the code. I am looking for how  
GDB obtains the address of stack local variables. I am seeing some  
code related to frame_info but do not know how it actually works. I am  
also looking at the GDB internals document but it does not have  
information to the level of granularity that I need.
Can someone please help me find the exact code that is used for  
reading the address of the stack local variables.
I plan to write some code that is similar to GDB's in order to find  
the location of stack local variables of a running program.


Thanks and regards,
Nityananda


             reply	other threads:[~2009-02-06  2:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-06  2:26 Nityananda [this message]
2009-02-06 12:01 ` Thiago Jung Bauermann
2009-02-06 20:22   ` Nityananda
2009-02-07 14:06     ` Ramana Radhakrishnan
     [not found]       ` <56d1e8cc0902070843o7e812b46l1897f8c9afd5b03e@mail.gmail.com>
2009-02-07 17:17         ` Ramana Radhakrishnan
2009-02-13 20:52           ` Nityananda
2009-02-19  5:17       ` Nityananda
2009-02-19  5:29         ` Nityananda

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=249DE25A-9555-4D36-8C59-56EF08F2E34A@gmail.com \
    --to=j.nityananda@gmail.com \
    --cc=gdb@sourceware.org \
    /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