Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Arun Paneri <arunpaneri@yahoo.com>
To: gdb@sourceware.org
Subject: Pls help: regarding gdb internals
Date: Wed, 16 Jan 2008 19:59:00 -0000	[thread overview]
Message-ID: <550693.17540.qm@web90408.mail.mud.yahoo.com> (raw)

Hi All,

 I am new to gdb code and trying to learn more things. i need help regarding gdb internals.

Can anyone write few lines about how does gdb internally works. I went to "Gdb internals guide" but couldn't find much information specifically which i am looking for. I want information like when we give command
"$gdb test.exe" then how internaly it works. Does it start reading symbols and start making symbol table with this command ? 
Does it start creating stack frames as we give command "run" or before even that with "$gdb test.exe"? I am basically interested to know about creation of frames and how does gdb read them back when we give "backtrace" command? 

I am not sure but i think to creat a frame it calls _initialize_stack (void) and from this it calls fun_command(char *arg, int from_tty) then parse_frame_specification(char *frame_exp) & then create_new_frame(CORE_ADDR addr, CORE_ADDR pc) function.

Pls help.

Thanks & Regards,
Arun


      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping


             reply	other threads:[~2008-01-16 19:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-16 19:59 Arun Paneri [this message]
2008-01-16 21:55 ` Jim Blandy
2008-01-16 22:07 ` Michael Snyder

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=550693.17540.qm@web90408.mail.mud.yahoo.com \
    --to=arunpaneri@yahoo.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