From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3022 invoked by alias); 21 Aug 2008 21:35:21 -0000 Received: (qmail 3013 invoked by uid 22791); 21 Aug 2008 21:35:20 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 21 Aug 2008 21:34:38 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 19985981E9; Thu, 21 Aug 2008 21:34:37 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id F0A359809F; Thu, 21 Aug 2008 21:34:36 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1KWHnb-00075K-4p; Thu, 21 Aug 2008 17:34:31 -0400 Date: Fri, 22 Aug 2008 14:14:00 -0000 From: Daniel Jacobowitz To: gabe@blackfam.net Cc: gdb@sourceware.org Subject: Re: qXfer:libraries:read Message-ID: <20080821213431.GA27218@caradoc.them.org> Mail-Followup-To: gabe@blackfam.net, gdb@sourceware.org References: <8a15eb2b0808211424s1be203afm40490c7b7a36e8e2@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8a15eb2b0808211424s1be203afm40490c7b7a36e8e2@mail.gmail.com> User-Agent: Mutt/1.5.17 (2008-05-11) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-08/txt/msg00248.txt.bz2 On Thu, Aug 21, 2008 at 04:24:17PM -0500, Gabe Black wrote: > My target has support for the qXfer:libraries:read packet and reports > it in the qSupported packet. However gdb never uses it (i.e. info > share) except for the HEAD version of gdb compiled with mingw. On > linux it doesn't send the packet but it will send the Z-packet. Mingw > will send the qXfer:libraries:read packet but it won't send the > Z-packet. I have expat installed on both the linux systems and mingw > since I see in the documentation gdb requires it to use the > qXfer:libraries:read packet. It sounds like your target is neither mingw nor Linux. You need to teach GDB a certain amount about a target system; for instance, unless the current target architecture says "I use a list of target-reported libraries", GDB won't ask for one. You'll need your own tdep file; they're pretty simple to write, since you can crib off of existing ones. -- Daniel Jacobowitz CodeSourcery