From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22907 invoked by alias); 10 Aug 2009 13:12:17 -0000 Received: (qmail 22865 invoked by uid 22791); 10 Aug 2009 13:12:17 -0000 X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from smtp.idnet.com (HELO smtp-out.idnet.com) (212.69.36.238) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 10 Aug 2009 13:12:07 +0000 Received: from localhost (unknown [127.0.0.1]) by smtp-out.idnet.com (Postfix) with ESMTP id 411492D740F for ; Mon, 10 Aug 2009 13:12:04 +0000 (UTC) Received: from smtp-out.idnet.com ([127.0.0.1]) by localhost (smtp-out.idnet.com [127.0.0.1]) (amavisd-new, port 10040) with LMTP id YFXYjl1bsAaX for ; Mon, 10 Aug 2009 14:12:01 +0100 (BST) Received: from mail.idnet.net.uk (mail.idnet.net.uk [212.69.36.63]) by smtp-out.idnet.com (Postfix) with ESMTP id 99A8F2D741C for ; Mon, 10 Aug 2009 14:12:01 +0100 (BST) Received: from [91.135.5.64] by mail.idnet.net.uk (GMS 15.02.3689/NU3963.00.7ca42f0c) with ESMTP id ujbahwba for gdb@sourceware.org; Mon, 10 Aug 2009 14:11:56 +0100 Subject: Re: Need to understand GDB internals . From: Jeremy Bennett Reply-To: jeremy.bennett@embecosm.com To: Diptopal Basu Cc: gdb In-Reply-To: References: Content-Type: text/plain Date: Mon, 10 Aug 2009 13:12:00 -0000 Message-Id: <1249909904.23899.16.camel@thomas> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-AuthenticatedSender: jeremy.bennett.embecosm.com@idnet.net.uk X-IsSubscribed: yes 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: 2009-08/txt/msg00057.txt.bz2 On Mon, 2009-08-10 at 15:30 +0530, Diptopal Basu wrote: > I am a newbie to GDB and need to understand GDB internals especially > breakpoints and byte code internals implementation . How to get Hi Diptopal, There's an internals manual in the gdb/doc subdirectory of the source code which should be your starting point. It's also online here: http://sourceware.org/gdb/current/onlinedocs/gdbint_toc.html There's the GDB Wiki with all sorts of goodies for developers: http://sourceware.org/gdb/wiki/ (Shameless self-plug :-). I've written a couple of application notes on porting GDB and how the GDB Remote Serial Protocol works: http://www.embecosm.com/download/ean3.html http://www.embecosm.com/download/ean4.html There's this mailing list, and also the gdb-patches mailing list, which is a good way to see how developers go about modifying the system. Finally there's the GDB IRC chat: #gdb on irc.freenode.net, port 6667. Always a helpful expert there whenever I get stuck. HTH, Jeremy -- Tel: +44 (1590) 610184 Cell: +44 (7970) 676050 SkypeID: jeremybennett Email: jeremy.bennett@embecosm.com Web: www.embecosm.com