This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Debugging a Multi-threaded application on PowerPC 82xx...
- From: "Gautham Thavva" <gautham dot thavva at lycos dot com>
- To: gdb at sources dot redhat dot com
- Date: Sat, 22 Mar 2003 16:06:33 -0500
- Subject: Debugging a Multi-threaded application on PowerPC 82xx...
- Organization: Lycos Mail (http://www.mail.lycos.com:80)
- Reply-to: gautham dot thavva at lycos dot com
Hi,
I downloaded gdb5.3 having read in the announcement that it supports multi-threaded debugging for powerpc-*-linux. I found similar queries in the archives (a week back) but would like to know the current status.
I built gdb and gdbserver(following the README)
gdb: ./configure --target=powerpc-linux
gdbserver: set the cross-compiler and then ran
./configure --target=powerpc-linux
I copied gdbserver into the target and initiated the communication between gdb and gdbserver through TCP/IP(following the documentation)
I am able to place breakpoints on the main routine as well as on other threads. The debug cursor doesn't show up at the thread's place.
I then built gdb in the target environment i.e built it natively on the target machine. The result was the same. I couldn't switch between the threads.
I read in the archive about a patch PREPARE_TO_PROCEED Patch. I applied the patch and rebuilt gdb and gdbserver. Even then, the
thread switching didn't take place.
I would like to know how to go about so that debugging the multi-threaded application is possible. I will look forward to valuable
responses from this mailing list.
with regards,
Gautham Thavva
ps. Please reply to me directly as I haven't subscribed to the mailing list.
_____________________________________________________________
Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year.
http://login.mail.lycos.com/brandPage.shtml?pageId=plus&ref=lmtplus