Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: gabe@blackfam.net
Cc: gdb@sourceware.org
Subject: Re: qXfer:libraries:read
Date: Fri, 22 Aug 2008 14:14:00 -0000	[thread overview]
Message-ID: <20080821213431.GA27218@caradoc.them.org> (raw)
In-Reply-To: <8a15eb2b0808211424s1be203afm40490c7b7a36e8e2@mail.gmail.com>

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


  reply	other threads:[~2008-08-21 21:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-22 13:42 qXfer:libraries:read Gabe Black
2008-08-22 14:14 ` Daniel Jacobowitz [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-04-04 11:25 qXfer:libraries:read gdb
2008-04-04 12:31 ` qXfer:libraries:read Pedro Alves

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080821213431.GA27218@caradoc.them.org \
    --to=drow@false.org \
    --cc=gabe@blackfam.net \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox