From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6925 invoked by alias); 21 Oct 2009 06:05:07 -0000 Received: (qmail 6917 invoked by uid 22791); 21 Oct 2009 06:05:07 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from nwd2mail11.analog.com (HELO nwd2mail11.analog.com) (137.71.25.57) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 21 Oct 2009 06:05:03 +0000 Received: from nwd2hubcas1.ad.analog.com ([10.64.73.29]) by nwd2mail11.analog.com with ESMTP; 21 Oct 2009 02:05:01 -0400 Received: from nwd2exm5.ad.analog.com (10.64.51.20) by NWD2HUBCAS1.ad.analog.com (10.64.73.29) with Microsoft SMTP Server id 8.1.358.0; Wed, 21 Oct 2009 02:05:01 -0400 Received: from chinexm1.ad.analog.com ([10.99.27.42]) by nwd2exm5.ad.analog.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 21 Oct 2009 02:05:00 -0400 Received: from [192.168.2.125] ([10.99.29.116]) by chinexm1.ad.analog.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 21 Oct 2009 14:04:54 +0800 Message-ID: <4ADEA476.7000409@analog.com> Date: Wed, 21 Oct 2009 08:58:00 -0000 From: Jie Zhang User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090701) MIME-Version: 1.0 To: "nagaraju.m" CC: Michael Snyder , Paul Pluzhnikov , "gdb@sourceware.org" Subject: Re: processor threads References: <4ADD5C6F.10002@redpinesignals.com> <4ADDF828.6060504@vmware.com> <4ADE9F3E.1040200@redpinesignals.com> In-Reply-To: <4ADE9F3E.1040200@redpinesignals.com> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit 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-10/txt/msg00327.txt.bz2 nagaraju.m wrote: > 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?? > Maybe GDB threads support will work for you. Our JTAG GDB stub supports dual-core Blackfin processor. The stub treats each core as one thread. In gdb, you can use thread commands for cores. Jie