This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Not able to debug treads using gdb 6.6 on ARM11 + linux 2.6.11 kernel


Thanks for your response daniel. 

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 <drow@false.org>
To: pankaj chauhan <chauhan_ait@yahoo.co.in>
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:
> 
> I do'nt understand why a new thread (PID: 356) is created, and why this unknown error is comming. please explain what may be wong here. Let me know if any more information is required. 

It's the main thread of your process.  Try attaching to that instead.

-- 
Daniel Jacobowitz
CodeSourcery


      Did you know? You can CHAT without downloading messenger. Go to http://in.messenger.yahoo.com/webmessengerpromo.php/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]