Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <cagney@gnu.org>
To: Daniel Jacobowitz <drow@false.org>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [commit] Prefer xfer_partial for memory xfers
Date: Mon, 04 Oct 2004 14:53:00 -0000	[thread overview]
Message-ID: <416163CC.6050603@gnu.org> (raw)
In-Reply-To: <20041004033545.GB19947@nevyn.them.org>

> On Thu, Sep 30, 2004 at 12:27:50PM -0400, Andrew Cagney wrote:
> 
>>> +   NOTE: cagney/2004-09-30:
>>> +
>>> +   The old code tried to use four separate mechanisms for mapping an
>>> +   object:offset:len tuple onto an inferior and its address space: the
>>> +   target stack; the inferior's TO_SECTIONS; solib's SO_LIST;
>>> +   overlays.
>>> +
>>> +   This is stupid.
>>> +
>>> +   The code below is instead using a single mechanism (currently
>>> +   strata).  If that mechanism proves insufficient then re-factor it
>>> +   implementing another singluar mechanism (for instance, a generic
>>> +   object:annex onto inferior:object:annex say).  */

> Does this mean that a bunch of new code would have to be written to
> make this compatible with overlays?  How about solibs?

I tested on PPC/NetBSD and it showed no regressions so the solib case is 
definitly covered (and as the note implies, there's serious level of 
redundancy in the current "design").

Andrew



      reply	other threads:[~2004-10-04 14:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-30 16:28 Andrew Cagney
2004-09-30 16:48 ` Andrew Cagney
2004-10-04  3:35 ` Daniel Jacobowitz
2004-10-04 14:53   ` Andrew Cagney [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=416163CC.6050603@gnu.org \
    --to=cagney@gnu.org \
    --cc=drow@false.org \
    --cc=gdb-patches@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