From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13448 invoked by alias); 26 Nov 2008 01:28:07 -0000 Received: (qmail 13405 invoked by uid 22791); 26 Nov 2008 01:28:06 -0000 X-Spam-Check-By: sourceware.org Received: from www.iap-online.com (HELO www.iap-online.com) (69.20.70.12) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 26 Nov 2008 01:27:21 +0000 Received: from www.iap-online.com (localhost [127.0.0.1]) by www.iap-online.com (8.12.11.20060308/8.12.11) with ESMTP id mAQ1RHXT006027 for ; Tue, 25 Nov 2008 20:27:17 -0500 Received: (from apache@localhost) by www.iap-online.com (8.12.11.20060308/8.12.11/Submit) id mAQ1RGfI006025; Tue, 25 Nov 2008 20:27:16 -0500 Received: from 210.143.35.18 (SquirrelMail authenticated user raja.saleru) by www.iap-online.com with HTTP; Tue, 25 Nov 2008 20:27:16 -0500 (EST) Message-ID: <28893.210.143.35.18.1227662836.squirrel@www.iap-online.com> In-Reply-To: <59596.210.143.35.18.1226650013.squirrel@www.iap-online.com> References: <33036.210.143.35.19.1225860010.squirrel@www.iap-online.com> <59596.210.143.35.18.1226650013.squirrel@www.iap-online.com> Date: Wed, 26 Nov 2008 01:28:00 -0000 Subject: gdb remote serial packet has wrong address From: raja.saleru@iap-online.com To: gdb@sourceware.org User-Agent: SquirrelMail/1.4.8-6.el3 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-2022-jp Content-Transfer-Encoding: 8bit X-Synonym: Copied by Synonym (http://www.modulo.ro/synonym) to: mscopy Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-11/txt/msg00156.txt.bz2 Hi, I am trying to debug the application running on arm based target, gdb,OpenOCD. I am using watch points to debug the application. In debug mode, the below RSP communication shows that the address for the packets m, Z2 and Z0 shows wrong. Is it so ? If yes, what can be the wrong ? Any hint to debug either at gdb side or OpenOCD side ? Is there any possibility of addresses can become single degit like this ? Breakpoint 1, main () at test.c:13 13 int x = 10, y = 2; (gdb) watch x Sending packet: $p8#a8...Ack Packet received: fdffffff Sending packet: $m1,4#fe...Ack Packet received: 00000000 Sending packet: $m560,48#a0...Ack Packet received: 80264402603e0680185c0a00603e0200185c0200603e0400683e0400005e010 0603e0200093c0000493cdc2e185c0b00083a683e0220683e04000844881c0400001fa002001eda0 2 Sending packet: $m9,4#06...Ack Packet received: 05000000 Sending packet: $m9,4#06...Ack Packet received: 05000000 Hardware watchpoint 2: x (gdb) c Continuing. Sending packet: $Hc0#db...Ack Packet received: Sending packet: $s#73...Ack Packet received: T05 Sending packet: $p1e#06...Ack Packet received: 6c050000 Sending packet: $Z0,568,2#b7...Ack Packet received: OK Sending packet: $p8#a8...Ack Packet received: fdffffff Sending packet: $m560,48#a0...Ack Packet received: 80264402603e0680185c0a00603e0200185c0200603e0400683e0400005e010 0603e0200093c0000493cdc2e185c0b00083a683e0220683e04000844881c0400001fa002001eda0 2 Sending packet: $m1,4#fe...Ack Packet received: 00000000 Sending packet: $Z2,1,4#49...Ack Packet received: E10 Packet Z2 (write-watchpoint) is supported Sending packet: $Z2,0,4#48...Ack Packet received: E10 Sending packet: $z2,1,4#69...Ack Packet received: OK Sending packet: $z2,0,4#68...Ack Packet received: OK Sending packet: $Z0,5,2#49...Ack Packet received: OK Warning: Could not insert hardware watchpoint 2. Could not insert hardware breakpoints: You may have requested too many hardware breakpoints/watchpoints. (gdb) Thanks in Advance Raja Saleru