Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: fzchuan <fzchuan@eos.cs.nthu.edu.tw>
Cc: gdb@sourceware.org
Subject: Re: set breakpoints in remote debugging
Date: Wed, 02 Nov 2005 17:36:00 -0000	[thread overview]
Message-ID: <20051102173619.GA962@nevyn.them.org> (raw)
In-Reply-To: <20051102173427.M31340@eos.cs.nthu.edu.tw>

On Thu, Nov 03, 2005 at 01:34:48AM +0800, fzchuan wrote:
> 
> Hi all:
> 
> I encountered some problems in GDB remote debugging.
> In most of time, GDB host would send correct breakpoint address to target which 
> I asked it. But sometimes it would send strange address.
> That is,in GDB host side,I set breakpoint on some address,i.e.:
> (gdb)b *0x8
> 
> Then, in target side, target will receive the request. 
> I print the message received from GDB host,
> and it shows that GDB ask target to stop at 0xc6
> 
> I use GDB disassemble to query 0x8, and is shows that it is a Call (JUMP)
> instruction and jump target address is 0xc6.
> 
> Why? thanks

There is not enough information to answer your question.  When does
this happen?  What does the remote protocol and GDB console show when
it does?  What target is this?

-- 
Daniel Jacobowitz
CodeSourcery, LLC


  reply	other threads:[~2005-11-02 17:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20051102171409.M10763@eos.cs.nthu.edu.tw>
2005-11-02 17:34 ` fzchuan
2005-11-02 17:36   ` Daniel Jacobowitz [this message]
2005-11-02 17:37   ` Paul Koning

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=20051102173619.GA962@nevyn.them.org \
    --to=drow@false.org \
    --cc=fzchuan@eos.cs.nthu.edu.tw \
    --cc=gdb@sourceware.org \
    /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