From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28359 invoked by alias); 16 Jun 2006 04:36:11 -0000 Received: (qmail 28350 invoked by uid 22791); 16 Jun 2006 04:36:10 -0000 X-Spam-Check-By: sourceware.org Received: from web8403.mail.in.yahoo.com (HELO web8403.mail.in.yahoo.com) (202.43.219.151) by sourceware.org (qpsmtpd/0.31) with SMTP; Fri, 16 Jun 2006 04:36:09 +0000 Received: (qmail 1980 invoked by uid 60001); 16 Jun 2006 04:36:06 -0000 Message-ID: <20060616043606.1978.qmail@web8403.mail.in.yahoo.com> Received: from [203.123.182.26] by web8403.mail.in.yahoo.com via HTTP; Fri, 16 Jun 2006 05:36:06 BST Date: Fri, 16 Jun 2006 12:37:00 -0000 From: vinay hegde Subject: gdbserver-6.3 issue To: gdb@sourceware.org Cc: thisismevinay@yahoo.co.in MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-06/txt/msg00103.txt.bz2 Hi, I am using a x86 host and a PPC target to test the gdb-6.3. But, in the gdb session, I get "segmentation fault" error. I do the following to test the gdb: 1. Boot the target. 2. Copy the test program (simple hello world) on the target. 3. Issue the following command on the target: gdbserver :1234 ./test 4. On the host, launch gdb session. gdb ./test 5. In the gdb session, issue following: > target extended-remote :1234 Then, I get following output: >>>>>>>>>>> (gdb) target extended-remote 192.168.4.16:1234 Remote debugging using 192.168.4.16:1234 warning: Remote sent bad register number 64: 300103dc; Packet: 'T0501:7fa1ee50;40:300103dc;' warning: Remote register badly formatted: T0501:7fa1ee50;40:300103dc; warning: here: 103dc; warning: Malformed packet(b) (missing colon): Packet: 'T0501:7fa1ee50;40:300103dc;' warning: Remote sent bad register number 66524: Packet: 'T0501:7fa1ee50;40:300103dc;' Segmentation fault <<<<<<<<<<<<< Can somebody please help in this regard? I browsed through remote.c and linux-low.c files, but can't see anything wrong. Thanks, Vinay. __________________________________________________________ Yahoo! India Answers: Share what you know. Learn something new http://in.answers.yahoo.com/ __________________________________________________________ Yahoo! India Answers: Share what you know. Learn something new http://in.answers.yahoo.com/