Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Stan Shebs <stan@codesourcery.com>
To: Ulrich Weigand <uweigand@de.ibm.com>
Cc: Stan Shebs <stan@codesourcery.com>, Doug Evans <dje@google.com>,
	  gdb@sourceware.org
Subject: Re: Address spaces
Date: Fri, 25 Jul 2008 18:50:00 -0000	[thread overview]
Message-ID: <488A1C2D.6020704@codesourcery.com> (raw)
In-Reply-To: <200807241827.m6OIRcJo010808@d12av02.megacenter.de.ibm.com>

Ulrich Weigand wrote:
> If you're interested into more details, I'll be happy to send you my 
> current patchset.
>   
Thanks, I don't think I need them.
> What does *not* work satisfactorily in all circumstances right now are user
> interface issues.  I don't want to expose the mangled CORE_ADDR to the user,
> so the extra bits are stripped via gdbarch_addr_bits, and reinserted by the
> gdbarch_integer_to_pointer family of functions, based on whether the currently
> selected frame is SPU or PowerPC code.
>
> This makes it e.g. impossible to input a PowerPC address while in a SPU frame,
> which would be useful occasionally.  To do that right we'd have to expose a
> user interface mechanism to select address spaces, though.
>   
Between yours and Doug's and Paul's and Michael's examples :-) , I think 
it's pretty clear that we will want some kind of user interface. In the 
general case, a target can create arbitrarily-named address spaces, 
while in the conventional multiprogram case, address space names could 
simply be copied from exec names or process ids.

Stan


  reply	other threads:[~2008-07-25 18:32 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-24  0:14 Stan Shebs
2008-07-24  0:30 ` Doug Evans
2008-07-24  6:15   ` Stan Shebs
2008-07-24 15:56     ` Ulrich Weigand
2008-07-24 18:17       ` Stan Shebs
2008-07-24 18:28         ` Doug Evans
2008-07-25  5:52           ` Michael Snyder
2008-07-25  8:50           ` Jeremy Bennett
2008-07-24 20:31         ` Ulrich Weigand
2008-07-25 18:50           ` Stan Shebs [this message]
2008-07-25  3:31       ` Michael Snyder
2008-07-24 21:49     ` Paul Pluzhnikov
2008-07-25  3:29     ` Michael Snyder
2008-07-25 18:32       ` Stan Shebs
2008-07-25 19:13         ` Mark Kettenis
2008-07-25 19:24           ` Stan Shebs
2008-07-31 18:43 ` 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=488A1C2D.6020704@codesourcery.com \
    --to=stan@codesourcery.com \
    --cc=dje@google.com \
    --cc=gdb@sourceware.org \
    --cc=uweigand@de.ibm.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