From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32525 invoked by alias); 24 Jul 2009 15:41:04 -0000 Received: (qmail 32509 invoked by uid 22791); 24 Jul 2009 15:41:03 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.45.13) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 24 Jul 2009 15:40:58 +0000 Received: from spaceape7.eur.corp.google.com (spaceape7.eur.corp.google.com [172.28.16.141]) by smtp-out.google.com with ESMTP id n6OFetVH032252 for ; Fri, 24 Jul 2009 08:40:55 -0700 Received: from gxk7 (gxk7.prod.google.com [10.202.11.7]) by spaceape7.eur.corp.google.com with ESMTP id n6OFepaO015007 for ; Fri, 24 Jul 2009 08:40:52 -0700 Received: by gxk7 with SMTP id 7so2897222gxk.8 for ; Fri, 24 Jul 2009 08:40:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.90.82.17 with SMTP id f17mr2973798agb.114.1248450050677; Fri, 24 Jul 2009 08:40:50 -0700 (PDT) In-Reply-To: <200907241130.n6OBUwMe004564@d12av02.megacenter.de.ibm.com> References: <200907241130.n6OBUwMe004564@d12av02.megacenter.de.ibm.com> Date: Fri, 24 Jul 2009 16:52:00 -0000 Message-ID: Subject: Re: [RFA] Add interface for registering JITed code From: Doug Evans To: Ulrich Weigand Cc: tromey@redhat.com, Reid Kleckner , gdb-patches@sourceware.org, unladen-swallow@googlegroups.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-System-Of-Record: true X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-07/txt/msg00598.txt.bz2 On Fri, Jul 24, 2009 at 4:30 AM, Ulrich Weigand wrote: > I'd suggest that Reid instead use bfd_openr_iovec to access an ELF image > directly in inferior memory, as is currently done e.g. by > =A0remote.c:remote_bfd_open > =A0spu-linux-nat.c:spu_bfd_open > =A0solib-spu.c:spu_bfd_open (is about to be introduced by the patch > =A0http://sourceware.org/ml/gdb-patches/2009-07/msg00546.html) > This works without BFD changes or directly accessing BFD internals ... And it could work if a more scatter/gather kind of access was desired. Heh, learn something new every day. :-)