Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Kam Lee" <kamlee@kendin.com>
To: <gdb@sources.redhat.com>
Subject: help: gdb with no ROM/Flash
Date: Tue, 01 Oct 2002 17:41:00 -0000	[thread overview]
Message-ID: <011c01c269ac$a1dd4700$b3011f0a@kamwin> (raw)
In-Reply-To: <NGBBJBGIILBMOINAKFMNCEAGCBAA.wxdai@utstar.com>

Hi all,
I would like to get help to gdb a target without loading a file, it is a
boot program stored in Flash memory.
After GDB start, I use "set $pc=x" to the particular address, let say this
particular address is 0.
By dumping the address x/x 0, I can see valid instructions.
By doing "disas", I got "No function contains program for selected frame."
By doing "stepi", I got "Cannot access memory at .

Any help is appreciated.
Regards


      parent reply	other threads:[~2002-10-02  0:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-01 16:11 gdbserver with PowerPC 8260 Wenxiang Dai
2002-10-01 16:21 ` Daniel Jacobowitz
2002-10-01 16:28   ` Wenxiang Dai
2002-10-01 16:56     ` Daniel Jacobowitz
2002-10-01 17:41     ` Kam Lee [this message]

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='011c01c269ac$a1dd4700$b3011f0a@kamwin' \
    --to=kamlee@kendin.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