From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20371 invoked by alias); 16 Jul 2009 19:11:47 -0000 Received: (qmail 20358 invoked by uid 22791); 16 Jul 2009 19:11:47 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 16 Jul 2009 19:11:37 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 8354E2BAB1E; Thu, 16 Jul 2009 15:11:34 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 1vg9eaS-rvsz; Thu, 16 Jul 2009 15:11:34 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id E48E52BAAF4; Thu, 16 Jul 2009 15:11:32 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 00ADDF58D8; Thu, 16 Jul 2009 12:11:29 -0700 (PDT) Date: Thu, 16 Jul 2009 19:49:00 -0000 From: Joel Brobecker To: Tristan Gingold Cc: gdb-patches@sourceware.org Subject: Re: [RFA Darwin]: Use bfd_mach_o_lookup_command to get interpreter Message-ID: <20090716191129.GB7232@adacore.com> References: <20090706075741.GA77404@Macintosh-2.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090706075741.GA77404@Macintosh-2.local> User-Agent: Mutt/1.5.18 (2008-05-17) 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/msg00410.txt.bz2 Hi Tristan, > 2009-07-06 Tristan Gingold > > * solib-darwin.c (find_program_interpreter): Simplify the code by > looking up for the load_dylinker command instead of reading the > corresponding (but deprecated) section. > (darwin_solib_create_inferior_hook): Adjust: do not free the > interpreter path. That looks great. Go ahead and commit. Thanks, -- Joel