This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Shared libraries issue


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]