From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20608 invoked by alias); 10 Jul 2007 16:33:23 -0000 Received: (qmail 20601 invoked by uid 22791); 10 Jul 2007 16:33:23 -0000 X-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,DK_POLICY_SIGNSOME,FORGED_RCVD_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 10 Jul 2007 16:33:20 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.1/8.13.1) with ESMTP id l6AGXAhV014348; Tue, 10 Jul 2007 12:33:10 -0400 Received: from lacrosse.corp.redhat.com (lacrosse.corp.redhat.com [172.16.52.154]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l6AGX92m010356; Tue, 10 Jul 2007 12:33:09 -0400 Received: from newbox.mollernet.net (vpn-14-57.rdu.redhat.com [10.11.14.57]) by lacrosse.corp.redhat.com (8.12.11.20060308/8.11.6) with ESMTP id l6AGX956010711; Tue, 10 Jul 2007 12:33:09 -0400 Message-ID: <4693B4C5.4050001@redhat.com> Date: Tue, 10 Jul 2007 16:33:00 -0000 From: Chris Moller User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: Andrew Cagney CC: Mark Wielaard , frysk@sourceware.org Subject: Re: [patch] Breakpoint - only reset instruction bytes covered by breakpoint instruction bytes References: <1183969101.3654.5.camel@dijkstra.wildebeest.org> <46923B73.4050000@redhat.com> <1184058613.3607.10.camel@dijkstra.wildebeest.org> <4693A9E3.1040008@redhat.com> In-Reply-To: <4693A9E3.1040008@redhat.com> X-Enigmail-Version: 0.95.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig47D24B3074241C1B460605BF" 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/msg00069.txt.bz2 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig47D24B3074241C1B460605BF Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-length: 1108 Andrew Cagney wrote: > Mark Wielaard wrote: >> On Mon, 2007-07-09 at 09:43 -0400, Andrew Cagney wrote: >>=20=20 >>> Please use the ByteBuffer's bulk get/put methods. >>>=20=20=20=20=20 >> >>=20=20=20 > Interesting slip-up, fortunately you've got peek and peekFully method > ready to wrap? As for micro-optimizing the PtraceByteBuffer, that is > something we can pick up when there's evidence supporting the need. > >> Nice idea! But there is no bulk put method in ByteBuffer I'm not entirely sure it's what you guys are talking about, but frysk-imports/frysk/sys/cni/StatelessFile.cxx supports a pwrite() that's analogous to the bulk pread(), but it was never incorporated into MemorySpaceByteBuffer because no one seemed interested. >> (there is a >> bulk get(), but there are no single byte get() loops in the current >> code). It would be nice to have a bulk put() method to optimize things, >> so I filed bug http://sourceware.org/bugzilla/show_bug.cgi?id=3D4760 >> >> Cheers, >> >> Mark >>=20=20=20 > --=20 Chris Moller Java: the blunt scissors of programming languages. -- Dave Thomas --------------enig47D24B3074241C1B460605BF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" Content-length: 252 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGk7TFmpMCeQnqFMkRAtcRAJ9AZQnWauevnRpywNJ7R9Vhs3zaVQCeOUEc +fS3G96sp86qA/zfMObeEnU= =xZxb -----END PGP SIGNATURE----- --------------enig47D24B3074241C1B460605BF--