List Info

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




Re: Not able to debug treads using gdb 6.6 on ARM11 + linux 2.6.11 kernel
country flaguser name
United States
2007-11-02 12:36:03
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 <drowfalse.org>
To: pankaj chauhan <chauhan_aityahoo.co.in>
Cc: gdbsourceware.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/

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )