This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Shared libraries issue
- From: Roberto Viola <r dot viola at elcoelettronica dot it>
- To: gdb at sourceware dot org
- Date: Tue, 09 Oct 2012 09:36:48 +0200
- Subject: Re: Shared libraries issue
- References: <1349264817.14797.151.camel@localhost.localdomain>
- Reply-to: r dot viola at elcoelettronica dot it
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