Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Peter Barada <pbarada@mail.wm.sps.mot.com>
To: aminayev@yahoo.com
Cc: drow@mvista.com, gdb@sources.redhat.com
Subject: Re: gdb-h8-stub
Date: Fri, 19 Jul 2002 07:23:00 -0000	[thread overview]
Message-ID: <200207191423.g6JENKD24574@hyper.wm.sps.mot.com> (raw)
In-Reply-To: <20020719060019.54178.qmail@web13509.mail.yahoo.com> (message from Alexei Minayev on Thu, 18 Jul 2002 23:00:19 -0700 (PDT))


>X200000,0...Ack
>X0,4e...Ack           (I'd expect X200000,4e here)
>Packet received: OK
>X4e,4e...Ack          (expected: X20004e,4e)
>Packet received: OK
>and so on.
>
>Address is *relative* to what comes in the first packet. E.g. the second
>packet gdb sends is "X0", which means "0 bytes +0x200000 base", and the base
>value was in the first packet.

That is not the intended effect.  The 'X' and 'M' take *absolute*
addresses(see section .  Perhaps you need to debug gdb to see why its trying to
tell the stub to use "X0," (yes, using gdb to debug gdb can get pretty weird).
You'll probably want to put a breakpoint in remote_write_bytes for
this...

See:
http://sources.redhat.com/gdb/current/onlinedocs/gdb_32.html#IDX1167

for a complete description of the remote protocol.

-- 
Peter Barada                                   Peter.Barada@motorola.com
Wizard                                         781-852-2768 (direct)
WaveMark Solutions(wholly owned by Motorola)   781-270-0193 (fax)


  parent reply	other threads:[~2002-07-19 14:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-17 23:27 gdb-h8-stub Alexei Minayev
2002-07-18  7:26 ` gdb-h8-stub Peter Barada
2002-07-18  7:37   ` gdb-h8-stub Daniel Jacobowitz
2002-07-18 11:25     ` gdb-h8-stub Alexei Minayev
2002-07-18 13:05       ` gdb-h8-stub Daniel Jacobowitz
2002-07-18 23:00         ` gdb-h8-stub Alexei Minayev
2002-07-19  5:34           ` gdb-h8-stub Daniel Jacobowitz
2002-07-20 11:39             ` gdb-h8-stub Alexei Minayev
2002-07-19  7:23           ` Peter Barada [this message]
2002-07-22  2:29 gdb-h8-stub Andrew Volkov

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=200207191423.g6JENKD24574@hyper.wm.sps.mot.com \
    --to=pbarada@mail.wm.sps.mot.com \
    --cc=aminayev@yahoo.com \
    --cc=drow@mvista.com \
    --cc=gdb@sources.redhat.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