Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@redhat.com>
To: saleru.raja@iap-online.com
Cc: "gdb@sources.redhat.com" <gdb@sources.redhat.com>
Subject: Re: remote serial protocol - gdbserver
Date: Fri, 10 Oct 2003 02:28:00 -0000	[thread overview]
Message-ID: <3F86194B.9020902@redhat.com> (raw)
In-Reply-To: <200310100204.h9A24Ht25169@www.iap-online.com>

> Hi,
> I have a querry related to remote serial protocl.
> 
> I have been ported gdbserver on RTOS (micro itron) running on SH3
> processor.
> while debugging the remote application with "next" user command from gdb,
> 
> Gdb send the following packets to gdbserver
> 
>          m0,2#fb
>          M0,2:20c3#0d
>   
>          simmilary for Z packet with zero address.
> 
> Here if the address is zero, what does it mean ? for example in this
> packet "M0,2:20c3#0d" where the TRAP instruction should be write ?
> where the data should be read from or write into ?
> 
> The solution for this querry will be greatly appreciated.

Can you post a gdb session with "set debug remote 1" enabled?

A wild guess is that it's trying to set a breakpoint at the return 
address of the function it's trying to NEXT over, only its getting that 
return address wrong.

Andrew



  reply	other threads:[~2003-10-10  2:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-09 13:13 target_op(..) -> target_op(target, ...) obvious Andrew Cagney
2003-10-09 13:55 ` Andrew Cagney
2003-10-09 19:39 ` Jim Blandy
2003-10-09 20:36   ` Andrew Cagney
2003-10-10  2:06     ` remote serial protocol - gdbserver saleru.raja
2003-10-10  2:28       ` Andrew Cagney [this message]
2003-10-10  5:15         ` Raja Saleru
2003-10-11 15:40           ` Andrew Cagney

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=3F86194B.9020902@redhat.com \
    --to=ac131313@redhat.com \
    --cc=gdb@sources.redhat.com \
    --cc=saleru.raja@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