From: Phil Muldoon <pmuldoon@redhat.com>
To: Andrew Cagney <cagney@redhat.com>
Cc: Mark Wielaard <mark@klomp.org>, frysk@sourceware.org
Subject: Re: fstep added
Date: Mon, 22 Jan 2007 13:52:00 -0000 [thread overview]
Message-ID: <45B4C173.5010909@redhat.com> (raw)
In-Reply-To: <4586BC16.6090208@redhat.com>
Andrew Cagney wrote:
> Mark Wielaard wrote:
>
>> - It is partially so slow because it accesses the Task memory for every
>> disassambly. Maybe that can be cached? Although instruction stepping is
>> just slow in general. An alternative could be combining stepping with
>> breakpoints set on "interesting functions". Or only stepping while in
>> the main program map, and not in any of the shared library maps?
>>
>
> Yes, more efficient memory access will eventually be needed. For
> insttance, by mmapping the inferior address space (I know there are
> kernel patches out there to do that), or performing larger transfers
> and caching under the hood. Both involve careful thought, especially
> when it comes to invalidating caches, so for the moment, as you've
> done, the focus remains on correctness.
Resurrecting this thread for a little bit. Is this issue related to:
http://sourceware.org/bugzilla/show_bug.cgi?id=3727
I'm hazarding a guess this all comes down to ptrace accessing the
inferior's memory word by word, and that optimizations made in access to
the inferior's memory (ie by mmaping /proc/$$/memory) will benefit fcore
as well as fstep? My knowledge here is really fuzzy.
Regards
Phil
next prev parent reply other threads:[~2007-01-22 13:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-18 14:01 Mark Wielaard
2006-12-18 16:05 ` Andrew Cagney
2006-12-18 19:41 ` Mark Wielaard
2007-01-22 13:52 ` Phil Muldoon [this message]
2007-01-22 16:19 ` Mark Wielaard
2007-01-22 19:00 ` 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=45B4C173.5010909@redhat.com \
--to=pmuldoon@redhat.com \
--cc=cagney@redhat.com \
--cc=frysk@sourceware.org \
--cc=mark@klomp.org \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).