This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Not able to debug treads using gdb 6.6 on ARM11 + linux 2.6.11 kernel
- From: pankaj chauhan <chauhan_ait at yahoo dot co dot in>
- To: gdb at sourceware dot org
- Date: Fri, 2 Nov 2007 22:35:39 +0530 (IST)
- Subject: Not able to debug treads using gdb 6.6 on ARM11 + linux 2.6.11 kernel
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