From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13823 invoked by alias); 21 May 2007 13:32:21 -0000 Received: (qmail 13798 invoked by uid 22791); 21 May 2007 13:32:20 -0000 X-Spam-Check-By: sourceware.org Received: from return.false.org (HELO return.false.org) (66.207.162.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 21 May 2007 13:32:19 +0000 Received: from return.false.org (localhost [127.0.0.1]) by return.false.org (Postfix) with ESMTP id 77C134B267; Mon, 21 May 2007 08:32:17 -0500 (CDT) Received: from caradoc.them.org (dsl093-172-095.pit1.dsl.speakeasy.net [66.93.172.95]) by return.false.org (Postfix) with ESMTP id 5B12B4B262; Mon, 21 May 2007 08:32:17 -0500 (CDT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1Hq7zk-00027K-8Q; Mon, 21 May 2007 09:32:16 -0400 Date: Mon, 21 May 2007 13:32:00 -0000 From: Daniel Jacobowitz To: Ulrich Weigand Cc: Pedro Alves , gdb-patches@sourceware.org, Joel Brobecker Subject: Re: [commit/AIX] Fix error when loading core file Message-ID: <20070521133216.GC1392@caradoc.them.org> Mail-Followup-To: Ulrich Weigand , Pedro Alves , gdb-patches@sourceware.org, Joel Brobecker References: <4650B245.3060306@portugalmail.pt> <200705211324.l4LDOPdZ013445@d12av02.megacenter.de.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200705211324.l4LDOPdZ013445@d12av02.megacenter.de.ibm.com> User-Agent: Mutt/1.5.15 (2007-04-09) 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: 2007-05/txt/msg00339.txt.bz2 On Mon, May 21, 2007 at 03:24:25PM +0200, Ulrich Weigand wrote: > Another reason why I like the TARGET_OBJECT_LDINFO approach > is that the ldinfo is also present in core files. Using a > xfer_partial object allows to cleanly support both native > and core file debugging (and it can also be extended to > support remote debugging, if we ever want to do that on AIX). FWIW, that will work with solib-target too; I didn't use a target object, but now that you've mentioned it I see that I could have. I should have thought of that; the needs are very similar. Of course, if I want to use a target object for this then I need to change the qfDllInfo packet to a qXfer:libraries:read packet, which means I can no longer test with my current SymbianOS target - that's one reason why I've been avoiding cosmetic changes to the protocol. But that's not a showstopper. What do you think - would the centralized bookkeeping be helpful, even though you don't have explicit load and unload reports? -- Daniel Jacobowitz CodeSourcery