Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Michael Snyder <msnyder@vmware.com>
To: "raja.saleru@iap-online.com" <raja.saleru@iap-online.com>
Cc: "gdb@sourceware.org" <gdb@sourceware.org>
Subject: Re: gdb remote serial packet has wrong address
Date: Wed, 26 Nov 2008 18:46:00 -0000	[thread overview]
Message-ID: <492D992D.6020703@vmware.com> (raw)
In-Reply-To: <28893.210.143.35.18.1227662836.squirrel@www.iap-online.com>

raja.saleru@iap-online.com wrote:
> 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 ?


Could be truncation?  From 64 bit to 32 bit, eg.?

What target architecture does gdb report?


> 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
> 


  reply	other threads:[~2008-11-26 18:46 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <33036.210.143.35.19.1225860010.squirrel@www.iap-online.com>
2008-11-07  7:49 ` gdb internal functionality raja.saleru
2008-11-07 12:21   ` EBo
2008-11-10 10:53     ` Jeremy Bennett
2008-11-07 18:22   ` Michael Snyder
2008-11-14  8:07 ` gdb load command flow raja.saleru
2008-11-14  8:13   ` Ramana Radhakrishnan
2008-11-14  9:07   ` Jeremy Bennett
     [not found] ` <59596.210.143.35.18.1226650013.squirrel@www.iap-online.com>
2008-11-26  1:28   ` gdb remote serial packet has wrong address raja.saleru
2008-11-26 18:46     ` Michael Snyder [this message]
     [not found]   ` <28893.210.143.35.18.1227662837.squirrel@www.iap-online.com>
2009-01-06 10:35     ` adding new commandline interface to gdb ? raja.saleru
2009-01-07  9:09       ` teawater
     [not found]     ` <17669.210.143.35.18.1231238130.squirrel@www.iap-online.com>
2009-01-20  8:36       ` info watch command raja.saleru
2009-01-20 13:46         ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=492D992D.6020703@vmware.com \
    --to=msnyder@vmware.com \
    --cc=gdb@sourceware.org \
    --cc=raja.saleru@iap-online.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox