From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10260 invoked by alias); 21 Oct 2009 05:41:54 -0000 Received: (qmail 10252 invoked by uid 22791); 21 Oct 2009 05:41:53 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mail.redpinesignals.com (HELO mail.redpinesignals.com) (203.196.161.92) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 21 Oct 2009 05:41:49 +0000 Received: from [192.168.40.83] ([192.168.40.83]) (authenticated user nagaraju.m@redpinesignals.com) by mail.redpinesignals.com; Wed, 21 Oct 2009 11:01:16 +0530 Message-ID: <4ADE9F3E.1040200@redpinesignals.com> Date: Wed, 21 Oct 2009 06:05:00 -0000 From: "nagaraju.m" User-Agent: Thunderbird 2.0.0.17 (X11/20081009) MIME-Version: 1.0 To: Michael Snyder , Paul Pluzhnikov CC: "gdb@sourceware.org" Subject: Re: processor threads References: <4ADD5C6F.10002@redpinesignals.com> <4ADDF828.6060504@vmware.com> In-Reply-To: <4ADDF828.6060504@vmware.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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-10/txt/msg00326.txt.bz2 Hi Michael, I mean to say that we are having 4 hardware threads. Our company has its own processor on which we will be working. The processor currently we are working has 4 threads in it. Each thread has it own set of registers (ex: program counter). Currently the GDB which we are using is supporting only single thread (ex: thread 0). Now we trying to use GDB for remaining threads. My Question is does GDB handles hardware threads?? Thanks, Nagaraj. Michael Snyder wrote: > nagaraju.m wrote: >> Hi All, >> >> Currently I am using gdb-6.8. My GDB is working fine with single >> thread. >> >> The target processor which we are using has 4-threads. So my >> question is how can I debug multi threaded (processor threads) >> applications with GDB. >> >> >> I have Googled for it but I found nothing.... >> >> Are there any documents available?? >> >> >> Please help me..... > > Not understanding your question. > What is your target processor? > What does it mean when you say "the target processor ... has 4 threads"? > Are you talking about processor cores? > > >