From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28359 invoked by alias); 4 Apr 2008 09:35:16 -0000 Received: (qmail 28350 invoked by uid 22791); 4 Apr 2008 09:35:15 -0000 X-Spam-Check-By: sourceware.org Received: from neodox.org (HELO neodox.org) (128.177.28.28) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 04 Apr 2008 09:34:56 +0000 Received: from simonpc ([::ffff:90.152.39.142]) (AUTH: LOGIN robert, TLS: TLSv1/SSLv3,128bits,RC4-MD5) by neodox.org with esmtp; Fri, 04 Apr 2008 05:34:54 -0400 id 013A8326.47F5F63E.000039F1 From: gdb@semi-evolved.org To: gdb@sourceware.org Subject: qXfer:libraries:read Date: Fri, 04 Apr 2008 11:25:00 -0000 Message-ID: <004701c89637$228665a0$679330e0$@org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Content-Language: en-gb 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-04/txt/msg00038.txt.bz2 Hi, I'm using GDB 6.8.5.20080320 (because it has bug fixes that I need), to debug using the remote protocol. I have written a version of gdbserver for my remote target (ELF on x86), which supports the qXfer:libraries:read packet. GDB is compiled with target=i686-linux-elf. GDB reports that support for the packet is switched on: (gdb) show remote library-info-packet 341-interpreter-exec console "show remote library-info-packet" Support for the `qXfer:libraries:read' packet is currently enabled. After the process being debugged loads a library, the target reports a stop event: $T05thread:00000f10;library:XXX;#cf However, GDB never asks for the list of loaded libraries. Should this work, or does the cygwin port of GDB not support this feature? If the latter, would it be possible for someone to point me at the part of the source I need to update to get it working? Cheers, Simon.