From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1832 invoked by alias); 16 Jan 2008 19:59:42 -0000 Received: (qmail 1824 invoked by uid 22791); 16 Jan 2008 19:59:41 -0000 X-Spam-Check-By: sourceware.org Received: from web90408.mail.mud.yahoo.com (HELO web90408.mail.mud.yahoo.com) (216.252.100.160) by sourceware.org (qpsmtpd/0.31) with SMTP; Wed, 16 Jan 2008 19:59:15 +0000 Received: (qmail 18422 invoked by uid 60001); 16 Jan 2008 19:59:13 -0000 X-YMail-OSG: amum_fYVM1lZ9eiXe3wF3AT_Rr8K3wJ_o3bOiZOfdxQhKu016ub4n04yoHYsUANL_fLedWYv7DoEL_tW8wSTF0PpA30mkR5SGNV6854NyjiJsfXSOS7zcAUc2eMgFA-- Received: from [64.235.97.59] by web90408.mail.mud.yahoo.com via HTTP; Wed, 16 Jan 2008 11:59:13 PST X-Mailer: YahooMailRC/818.31 YahooMailWebService/0.7.160 Date: Wed, 16 Jan 2008 19:59:00 -0000 From: Arun Paneri Subject: Pls help: regarding gdb internals To: gdb@sourceware.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <550693.17540.qm@web90408.mail.mud.yahoo.com> Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-01/txt/msg00127.txt.bz2 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