From: cgd@broadcom.com
To: "Stefano Martini" <martini@sci.univr.it>
Cc: GDB <gdb@sources.redhat.com>
Subject: Re: new board
Date: Thu, 29 Apr 2004 00:32:00 -0000 [thread overview]
Message-ID: <yov5n04wcald.fsf@ldt-sj3-010.sj.broadcom.com> (raw)
In-Reply-To: <00ca01c42d24$fdfcc410$2af21b9d@toti>
At Wed, 28 Apr 2004 15:30:36 +0200, Stefano Martini wrote:
> When I start the run program (mipsel-elf-run --board .....) to execute
> a example program I get the following error messages:
>
> mips-core: 1 byte read to unmapped address 0x0 at 0x800ab230
> mips-core: 4 byte read to unmapped address 0x0 at 0x0
> mips-core: 4 byte read to unmapped address 0x0 at 0x0
> mips-core: 4 byte read to unmapped address 0x0 at 0x0
> mips-core: 4 byte read to unmapped address 0x0 at 0x0
> mips-core: 4 byte read to unmapped address 0x0 at 0x0
>
> I have no address in region 0x0. Is this a problem
> related to virtual and physical addresses?
I'd say that you're probably trying to read virtual address 0x0, yes,
and it doesn't do what you are expecting, because there's nothing at
that virtual address.
> I think "physical address" is an address generated by the
> processor to access a memory region.
> What is a virtual address?
http://computing-dictionary.thefreedictionary.com/virtual%20memory
For an understanding of the MIPS architecture's handling of virtual
memory and address translation, I'd advise looking that the
MIPS{32,64} Architecture for Programmers manuals available from
www.mips.com.
That documentation is more "reference" than tutuorial though. If you
want more of a tutorial, I'd recommend See MIPS Run by Dominic
Sweetman.
cgd
prev parent reply other threads:[~2004-04-28 16:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-23 16:03 Stefano Martini
[not found] ` <mailpost.1082724164.28332@news-sj1-1>
2004-04-23 17:23 ` cgd
2004-04-26 17:57 ` Stefano Martini
[not found] ` <001801c42b64$17649c10$2af21b9d@toti>
2004-04-26 18:12 ` cgd
2004-04-28 13:58 ` Stefano Martini
2004-04-29 0:32 ` cgd [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=yov5n04wcald.fsf@ldt-sj3-010.sj.broadcom.com \
--to=cgd@broadcom.com \
--cc=gdb@sources.redhat.com \
--cc=martini@sci.univr.it \
/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