From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30594 invoked by alias); 22 Mar 2003 21:06:43 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 30586 invoked from network); 22 Mar 2003 21:06:41 -0000 Received: from unknown (HELO mailcity.com) (209.202.220.140) by sources.redhat.com with SMTP; 22 Mar 2003 21:06:41 -0000 Received: from Unknown/Local ([?.?.?.?]) by mailcity.com; Sat, 22 Mar 2003 21:06:33 -0000 To: gdb@sources.redhat.com Date: Sat, 22 Mar 2003 21:06:00 -0000 From: "Gautham Thavva" Message-ID: Mime-Version: 1.0 X-Sent-Mail: on Reply-To: gautham.thavva@lycos.com X-Priority: 3 Subject: Debugging a Multi-threaded application on PowerPC 82xx... X-Sender-Ip: 65.200.123.8 Organization: Lycos Mail (http://www.mail.lycos.com:80) Content-Type: text/plain; charset=us-ascii Content-Language: en Content-Transfer-Encoding: 7bit X-SW-Source: 2003-03/txt/msg00324.txt.bz2 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