From: Daniel Jacobowitz <dan@codesourcery.com>
To: Kevin Buettner <kevinb@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Re: Should we be able to read simulator memory immediately after a "load" command?
Date: Tue, 29 Jun 2010 19:56:00 -0000 [thread overview]
Message-ID: <20100629195600.GA17949@caradoc.them.org> (raw)
In-Reply-To: <20100628130010.360f398d@mesquite.lan>
On Mon, Jun 28, 2010 at 01:00:10PM -0700, Kevin Buettner wrote:
> This code was added in a patch from 2006. See:
>
> http://sourceware.org/ml/gdb-patches/2006-10/msg00042.html
>
> In that posting, Daniel provides a good rationale for that patch as a
> whole, but I did not see any discussion of the portion affecting
> gdbsim_xfer_inferior_memory().
I'm just guessing, but my guess is that removing the check breaks
reading memory between "tar sim" and "load", and previously we would
have read from the executable file.
If I bothered to make the change it was probably because of the
testsuite...
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2010-06-29 19:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-28 20:00 Kevin Buettner
2010-06-28 22:25 ` Michael Snyder
2010-06-28 23:55 ` Kevin Buettner
2010-06-28 23:57 ` Michael Snyder
2010-06-29 0:46 ` Kevin Buettner
2010-06-28 22:28 ` Mike Frysinger
2010-06-29 19:56 ` Daniel Jacobowitz [this message]
2010-07-02 16:46 ` Kevin Buettner
2010-07-02 23:14 ` Kevin Buettner
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=20100629195600.GA17949@caradoc.them.org \
--to=dan@codesourcery.com \
--cc=gdb-patches@sourceware.org \
--cc=kevinb@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