From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25286 invoked by alias); 2 Nov 2007 17:36:11 -0000 Received: (qmail 25276 invoked by uid 22791); 2 Nov 2007 17:36:10 -0000 X-Spam-Check-By: sourceware.org Received: from web94115.mail.in2.yahoo.com (HELO web94115.mail.in2.yahoo.com) (203.104.16.69) by sourceware.org (qpsmtpd/0.31) with SMTP; Fri, 02 Nov 2007 17:36:07 +0000 Received: (qmail 33196 invoked by uid 60001); 2 Nov 2007 17:36:03 -0000 X-YMail-OSG: vYHC6UEVM1ntPhvLEg70SISfbLOOPvQND1GZe_ACpXHkgVIYjXrnEfvzhszjxnv7GRIK4ueB60HaRBl9P0weKcqaippnmXP8IRSLlDtVYa5cyzNDuMsMSBKXSSZQ2A-- Received: from [198.62.10.11] by web94115.mail.in2.yahoo.com via HTTP; Fri, 02 Nov 2007 23:06:03 IST X-Mailer: YahooMailRC/814.06 YahooMailWebService/0.7.134.12 Date: Fri, 02 Nov 2007 17:36:00 -0000 From: pankaj chauhan Subject: Re: Not able to debug treads using gdb 6.6 on ARM11 + linux 2.6.11 kernel To: Daniel Jacobowitz Cc: gdb@sourceware.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <606866.29306.qm@web94115.mail.in2.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: 2007-11/txt/msg00018.txt.bz2 Thanks for your response daniel.=20 I don't see any process with pid 356 when i do 'ps -A', but again if i try= to attach to any other thread then it says again: ---- [New Thread 1024 (LWP 356)] Can't attach LWP 356: Unknown error 3 ---- and if i try to attach to 356 it says: ---- (gdb) attach 356 Attaching to process 356 ptrace: Unknown error 3. ---- ----- Original Message ---- From: Daniel Jacobowitz To: pankaj chauhan Cc: gdb@sourceware.org Sent: Friday, 2 November, 2007 10:41:17 PM Subject: Re: Not able to debug treads using gdb 6.6 on ARM11 + linux 2.6.11= kernel On Fri, Nov 02, 2007 at 10:35:39PM +0530, pankaj chauhan wrote: >=20 > I do'nt understand why a new thread (PID: 356) is created, and why this u= nknown error is comming. please explain what may be wong here. Let me know = if any more information is required.=20 It's the main thread of your process. Try attaching to that instead. --=20 Daniel Jacobowitz CodeSourcery Did you know? You can CHAT without downloading messenger. Go to http:= //in.messenger.yahoo.com/webmessengerpromo.php/