Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Alexei Minayev <aminayev@yahoo.com>
To: gdb@sources.redhat.com
Subject: gdb-h8-stub... please help.
Date: Sat, 13 Jul 2002 22:58:00 -0000	[thread overview]
Message-ID: <20020714055803.62733.qmail@web13505.mail.yahoo.com> (raw)

Dear GDB gurus,

I'm new to this list, and I'd appreciate your expertise.
I'm developing a gdb-stub for a Hitachi platform. I'm done with the hardware
part, but my stub and the gdb have problem understanding each other.
I compile my test program and fire up the gdb...


(gdb) set remotedebug 1
(gdb) load
...
Start address 0x200144 , load size 352
Sending packet: $P9=00200144#51...Ack
Packet received: OK
Transfer rate: 2816 bits in <1 sec.
(gdb) b main
Sending packet: $m0,2#fb...Ack
Packet received: 0000
Sending packet: $m0,2#fb...Ack
Packet received: 0000
Breakpoint 1 at 0x200018: file hello.c, line 10.

<Looks OK so far, but then>

(gdb) step
Cannot find bounds of current function 

<very confusing, and then some>

(gdb) cont
Continuing.
Sending packet: $m18,2#34...Ack
Packet received: 0000
binary downloading NOT suppported by target
Sending packet: $M18,2:5730#1d...Ack
Packet received: OK
Sending packet: $Hc0#db...Ack
Packet received:
Sending packet: $c#63...putpkt: Junk: @
Timed out.
Packet received: S05
Sending packet: $c#63...putpkt: Junk:
Timed out.

end quote.
I would appreciate any light that you can shine on this. Do I need to patch
GDB? Do I need to process binary downloading (I don't do it now)? Add extra
cases to my command switch?

Thanks a lot!

Regards -- Alexei 

__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com


             reply	other threads:[~2002-07-14  5:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-13 22:58 Alexei Minayev [this message]
2002-07-15  7:20 ` Peter Barada
2002-07-15  7:35   ` Daniel Jacobowitz
2002-07-15  9:26     ` 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=20020714055803.62733.qmail@web13505.mail.yahoo.com \
    --to=aminayev@yahoo.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