From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27444 invoked by alias); 31 Jul 2007 09:57:34 -0000 Received: (qmail 27402 invoked by uid 22791); 31 Jul 2007 09:57:34 -0000 X-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,DK_POLICY_SIGNSOME,FORGED_RCVD_HELO,TW_DW X-Spam-Check-By: sourceware.org Received: from wildebeest.demon.nl (HELO gnu.wildebeest.org) (83.160.170.119) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 31 Jul 2007 09:57:31 +0000 Received: from dijkstra.wildebeest.org ([192.168.1.29]) by gnu.wildebeest.org with esmtp (Exim 4.43) id 1IFoWP-0003Vx-6S; Tue, 31 Jul 2007 12:00:09 +0200 Subject: Re: Problem with getExe and testInsertedBreakpoint From: Mark Wielaard To: Roland McGrath Cc: frysk@sourceware.org In-Reply-To: <20070727190347.504344D058D@magilla.localdomain> References: <20070727190347.504344D058D@magilla.localdomain> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-hkLg3WlaCrv9wwDqiVhs" Date: Tue, 31 Jul 2007 09:57:00 -0000 Message-Id: <1185875847.3653.60.camel@dijkstra.wildebeest.org> Mime-Version: 1.0 X-Mailer: Evolution 2.8.3 (2.8.3-2.fc6) X-Spam-Score: -4.4 (----) X-Virus-Checked: Checked by ClamAV on sourceware.org X-IsSubscribed: yes Mailing-List: contact frysk-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: frysk-owner@sourceware.org X-SW-Source: 2007-q3/txt/msg00233.txt.bz2 --=-hkLg3WlaCrv9wwDqiVhs Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Content-length: 1058 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? >=20 > 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? >=20 > 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 --=-hkLg3WlaCrv9wwDqiVhs Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part Content-length: 189 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQBGrweCxVhZCJWr9QwRAlqXAJwOTYS8bNnLZleToK/8VdVY/azcSACeLbOn kv/NXzjY/f956oZGHFuEj+8= =X6gY -----END PGP SIGNATURE----- --=-hkLg3WlaCrv9wwDqiVhs--