From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2625 invoked by alias); 2 Nov 2007 17:05:50 -0000 Received: (qmail 2615 invoked by uid 22791); 2 Nov 2007 17:05:50 -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:05:44 +0000 Received: (qmail 23204 invoked by uid 60001); 2 Nov 2007 17:05:40 -0000 Received: from [198.62.10.11] by web94115.mail.in2.yahoo.com via HTTP; Fri, 02 Nov 2007 22:35:39 IST X-Mailer: YahooMailRC/814.06 YahooMailWebService/0.7.134.12 Date: Fri, 02 Nov 2007 17:05:00 -0000 From: pankaj chauhan Subject: Not able to debug treads using gdb 6.6 on ARM11 + linux 2.6.11 kernel To: gdb@sourceware.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <20230.22537.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/msg00016.txt.bz2 All,=20 I am trying to debug a multithreaded application (written in c++) on my ARM= 11 board on which linux 2.6.11 kernel is running.=20 I had compiled gdb to run on target platorm (configured with: --target=3Da= rm-linux, host=3Darm-linux, and --build=3Di686-linux). When i try to attach= gdb to already running thread (using "attach PID") gdb gives following err= or:=20 ------------------------ (gdb) attach 368 Attaching to process 368 warning: process 368 is a cloned process Reading symbols from /sbin/wsccmd...done. Using host libthread_db library "/lib/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread 1024 (LWP 356)] Can't attach LWP 356: Unknown error 3 (gdb) ----------------------- I do'nt understand why a new thread (PID: 356) is created, and why this unk= nown error is comming. please explain what may be wong here. Let me know if= any more information is required.=20 Please reply to chauhan_ait@yahoo.co.in also because i am not subscribed to= the list yet.=20 Thanks, pankaj Forgot the famous last words? Access your message archive online at h= ttp://in.messenger.yahoo.com/webmessengerpromo.php