From: pankaj chauhan <chauhan_ait@yahoo.co.in>
To: gdb@sourceware.org
Subject: Not able to debug treads using gdb 6.6 on ARM11 + linux 2.6.11 kernel
Date: Fri, 02 Nov 2007 17:05:00 -0000 [thread overview]
Message-ID: <20230.22537.qm@web94115.mail.in2.yahoo.com> (raw)
All,
I am trying to debug a multithreaded application (written in c++) on my ARM11 board on which linux 2.6.11 kernel is running.
I had compiled gdb to run on target platorm (configured with: --target=arm-linux, host=arm-linux, and --build=i686-linux). When i try to attach gdb to already running thread (using "attach PID") gdb gives following error:
------------------------
(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 unknown error is comming. please explain what may be wong here. Let me know if any more information is required.
Please reply to chauhan_ait@yahoo.co.in also because i am not subscribed to the list yet.
Thanks,
pankaj
Forgot the famous last words? Access your message archive online at http://in.messenger.yahoo.com/webmessengerpromo.php
next reply other threads:[~2007-11-02 17:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-02 17:05 pankaj chauhan [this message]
2007-11-02 17:11 ` Daniel Jacobowitz
2007-11-02 17:36 pankaj chauhan
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=20230.22537.qm@web94115.mail.in2.yahoo.com \
--to=chauhan_ait@yahoo.co.in \
--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