From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17758 invoked by alias); 27 Sep 2011 15:21:22 -0000 Received: (qmail 17750 invoked by uid 22791); 27 Sep 2011 15:21:21 -0000 X-SWARE-Spam-Status: No, hits=-2.0 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; Tue, 27 Sep 2011 15:20:53 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 1F3F12BB211; Tue, 27 Sep 2011 11:20:53 -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 792t1nUGpzvO; Tue, 27 Sep 2011 11:20:53 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id E8D1D2BB202; Tue, 27 Sep 2011 11:20:52 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 1843A145615; Tue, 27 Sep 2011 11:20:49 -0400 (EDT) Date: Tue, 27 Sep 2011 15:31:00 -0000 From: Joel Brobecker To: Tristan Gingold Cc: "gdb-patches@sourceware.org ml" Subject: Re: [RFA] Darwin: handle shared libraries in attached processes Message-ID: <20110927152049.GA19246@adacore.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) 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: 2011-09/txt/msg00460.txt.bz2 > 2011-09-27 Tristan Gingold > > * target.h (enum target_object): Add TARGET_OBJECT_DARWIN_DYLD_INFO. > * solib-darwin.c (DYLD_VERSION_MAX): Update number. > (darwin_solib_get_all_image_info_addr_at_init): New function. > (darwin_solib_read_all_image_info_addr): Likewise. > (darwin_solib_create_inferior_hook): Use the above two functions. > * darwin-nat.c (darwin_execvp): Renames retval to res. > (darwin_read_write_inferior): Update comment. > (darwin_read_dyld_info): New function. > (darwin_xfer_partial): Handle DYLD_INFO. This patch looks OK to me. Please go ahead and apply. -- Joel