From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4676 invoked by alias); 9 Oct 2012 07:50:49 -0000 Received: (qmail 4655 invoked by uid 22791); 9 Oct 2012 07:50:46 -0000 X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_50,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from smtp-out-03.comm2000.it (HELO smtp-out-03.comm2000.it) (212.97.32.66) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 09 Oct 2012 07:50:38 +0000 Received: from smbelco.delco.local (74.183.173.62.dsl.static.ip.kpnqwest.it [62.173.183.74]) by smtp-out-03.comm2000.it (Postfix) with ESMTP id D31DD4D951 for ; Tue, 9 Oct 2012 09:50:36 +0200 (CEST) Received: from [192.168.0.2] (unknown [192.168.0.2]) by smbelco.delco.local (Postfix) with ESMTP id 495E110256B for ; Tue, 9 Oct 2012 09:24:46 +0200 (CEST) Subject: Re: Shared libraries issue From: Roberto Viola Reply-To: r.viola@elcoelettronica.it To: gdb@sourceware.org In-Reply-To: <1349264817.14797.151.camel@localhost.localdomain> References: <1349264817.14797.151.camel@localhost.localdomain> Content-Type: text/plain; charset="us-ascii" Date: Tue, 09 Oct 2012 07:50:00 -0000 Message-ID: <1349768208.14797.181.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit 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: 2012-10/txt/msg00044.txt.bz2 Probably i've found something: In gcc on arm, when i ask for shared loaded libraries ("share") it calls function solib.c:info_sharedlibrary_command with full support for solib (and it works fine). Instead, when i ask for the same command on gdb on windows and gdbserver on arm, it passes the command "qXfer:libraries:read:" that doesn't manage any solib, only dlls! And the dlls list is obviously empty. Did i miss something? On Wed, 2012-10-03 at 13:46 +0200, Roberto Viola wrote: > Hi, > it's my first time here, so be gently :) > > I'm working on ARM system with gdb 7.1. I'm using this tool to debug an > application composed by several shared libraries. > > If I debug this application on the ARM side, with gdb 7.1 i can see the > shared loaded libraries (digiting "share"). Perfect! > > I'm trying to do the same thing remotelly with gdb for arm on windows > host and gdbserver on ARM. > > So i have: > 1) gdb on windows for arm v.7.4.1 (i've tried 7.3.1 too) > 2) gdbserver on arm v.7.1 > > On Windows i can debug everything flawless except for the shared > libraries: infact, when i tried to digit "share" it says there isn't any > shared loaded libraries. I'm absolutely sure that at least one library > has loaded (on arm side the same situation works fine). > > Any idea? > > Thanks in advance > Roberto Viola > -- Elco Elettronica Snc Via Costituzione, 50 42015 - Correggio (RE) - Italy Tel: +39 0522 691024 Tel: +39 0522 691753 Fax: +39 0522 691322 Mail: r.viola@elcoelettronica.it