Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@cygnus.com>
To: Nick Duffek <nsd@redhat.com>
Cc: gdb@sources.redhat.com, cagney@redhat.com, dje@transmeta.com,
	taylor@cygnus.com, kevinb@cygnus.com, msnyder@cygnus.com,
	jimb@cygnus.com, per@bothner.com, eliz@delorie.com
Subject: Re: Harvard proposal
Date: Tue, 13 Feb 2001 13:22:00 -0000	[thread overview]
Message-ID: <3A899B67.4A37902E@cygnus.com> (raw)
In-Reply-To: <200102102025.f1AKPtS11061@rtl.cygnus.com>

Nick Duffek wrote:

> The Problem
> ===========
> 
> GDB handles Harvard architectures by mapping instruction and data spaces
> onto a single byte address space.
> 
> For example, d10v-tdep.c performs the following mapping:
>   data: 0x2000000 + addr
>   insn: 0x1000000 + (addr << 2)
> 
> The mapping is user-visible, which I think is problematic because:

Just FYI, while the mapping is user visible it is also very entrenched. 
BFD, which doesn't handle segmentation either, uses that ``cannonical''
address form in its linker scripts and relocations.

	Andrew


  parent reply	other threads:[~2001-02-13 13:22 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-10 12:19 Nick Duffek
2001-02-10 13:27 ` Per Bothner
2001-02-10 17:11   ` Nick Duffek
2001-02-23 17:25   ` Andrew Cagney
2001-02-23 20:27     ` Per Bothner
2001-02-26  8:34       ` Andrew Cagney
2001-02-26  8:49         ` Per Bothner
2001-02-26 10:13           ` Andrew Cagney
2001-02-13 13:22 ` Andrew Cagney [this message]
2001-02-13 13:35   ` Nick Duffek

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=3A899B67.4A37902E@cygnus.com \
    --to=ac131313@cygnus.com \
    --cc=cagney@redhat.com \
    --cc=dje@transmeta.com \
    --cc=eliz@delorie.com \
    --cc=gdb@sources.redhat.com \
    --cc=jimb@cygnus.com \
    --cc=kevinb@cygnus.com \
    --cc=msnyder@cygnus.com \
    --cc=nsd@redhat.com \
    --cc=per@bothner.com \
    --cc=taylor@cygnus.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