This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Pls help: regarding gdb internals
- From: Arun Paneri <arunpaneri at yahoo dot com>
- To: gdb at sourceware dot org
- Date: Wed, 16 Jan 2008 11:59:13 -0800 (PST)
- Subject: Pls help: regarding gdb internals
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