From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16708 invoked by alias); 5 Aug 2009 08:58:11 -0000 Received: (qmail 16694 invoked by uid 22791); 5 Aug 2009 08:58:10 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-yw0-f186.google.com (HELO mail-yw0-f186.google.com) (209.85.211.186) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 05 Aug 2009 08:58:05 +0000 Received: by ywh16 with SMTP id 16so6203363ywh.24 for ; Wed, 05 Aug 2009 01:58:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.19.205 with SMTP id c13mr2620341ibb.53.1249462683084; Wed, 05 Aug 2009 01:58:03 -0700 (PDT) In-Reply-To: <21269332.189291249462529575.JavaMail.root@zimbra> References: <21269332.189291249462529575.JavaMail.root@zimbra> From: Hui Zhu Date: Wed, 05 Aug 2009 08:58:00 -0000 Message-ID: Subject: Re: Query To: "Praveen S. Solanki" Cc: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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/msg00024.txt.bz2 gdb/thread.c gdb/linux-thread-db.c On Wed, Aug 5, 2009 at 16:55, Praveen S. Solanki wrot= e: > Hello Everybody. I am quite new to gdb and I am looking into the gdb sour= ce code these days. I need some direction in reading the source code. I am = trying to figure out how does gdb finds new threads and upadates its thread= _db. What if a new thread is created and gdb doesn't know about it? I am al= so interested to know higher level overview of gdb algorithm. I tried to re= ad the gdb internal document but the sections I was interested in were not = described ( though the headings were there ). > > Thanks and regards > Praveen >