Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: pankaj chauhan <chauhan_ait@yahoo.co.in>
To: Daniel Jacobowitz <drow@false.org>
Cc: gdb@sourceware.org
Subject: Re: Not able to debug treads using gdb 6.6 on ARM11 + linux 2.6.11 kernel
Date: Fri, 02 Nov 2007 17:36:00 -0000	[thread overview]
Message-ID: <606866.29306.qm@web94115.mail.in2.yahoo.com> (raw)

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/


             reply	other threads:[~2007-11-02 17:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-02 17:36 pankaj chauhan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-11-02 17:05 pankaj chauhan
2007-11-02 17:11 ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=606866.29306.qm@web94115.mail.in2.yahoo.com \
    --to=chauhan_ait@yahoo.co.in \
    --cc=drow@false.org \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox