public inbox for frysk@sourceware.org
 help / color / mirror / Atom feed
From: Mark Wielaard <mark@klomp.org>
To: Roland McGrath <roland@redhat.com>
Cc: frysk@sourceware.org
Subject: Re: Problem with getExe and testInsertedBreakpoint
Date: Tue, 31 Jul 2007 09:57:00 -0000	[thread overview]
Message-ID: <1185875847.3653.60.camel@dijkstra.wildebeest.org> (raw)
In-Reply-To: <20070727190347.504344D058D@magilla.localdomain>

[-- Attachment #1: Type: text/plain, Size: 1083 bytes --]

Hi Roland,

On Fri, 2007-07-27 at 12:03 -0700, Roland McGrath wrote:
> > Will it be possible for frysk to also support that in the Fedora 8
> > timeframe?
> 
> I intend to have some libdwfl additions for build-id before F8.
> Those will make it very easy to do something in Frysk.

That would make it easy to fixup the core file consumer part in frysk
indeed. But we would still need to make sure that when we produce core
files we also include the BuildID.

> > OK, and I assume the same would be true for any code segments that were
> > altered through ptrace poke?
> 
> Correct.  The kernel's test is on its internal VM data structures, so it
> gets any private file mapping that has had some COW happen.

Nice to know.
Somewhat related, is there some way to revert this?
In the case of inserting low-level breakpoints all we really do is
setting one instruction and then later resetting the original
instruction. Is there any way to make the kernel know that the page can
be remerged again because all writes to it have been reversed?

Cheers,

Mark

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2007-07-31  9:57 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-26 13:23 Kris Van Hees
2007-07-26 13:58 ` Mark Wielaard
2007-07-26 15:35   ` Phil Muldoon
2007-07-26 18:57     ` Mark Wielaard
2007-07-26 19:32       ` Phil Muldoon
2007-07-27 10:00         ` Mark Wielaard
2007-07-27 13:41           ` Phil Muldoon
2007-07-27 19:04           ` Roland McGrath
2007-07-31  9:57             ` Mark Wielaard [this message]
2007-07-31 10:18               ` Roland McGrath
2007-07-26 15:00 ` Phil Muldoon
2007-07-26 15:03   ` Phil Muldoon

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=1185875847.3653.60.camel@dijkstra.wildebeest.org \
    --to=mark@klomp.org \
    --cc=frysk@sourceware.org \
    --cc=roland@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).