This is the mail archive of the gdb@sources.redhat.com 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: arm gdbserver and shared object function resolution


note: I can now load the symbols from the file on the host (and thus resolve
the function to an address and set a breakpoint). However - if i target the
remote target after setting the breakpoint i get the following error:

warning: shared library handler failed to enable breakpoint. is the issue
with the current cross target gdb or is it with gdbserver?
 
:]k


-----Original Message-----
From: Kevin "Squail" Endres [mailto:kevine@wildseed.com]
Sent: Monday, April 29, 2002 4:12 PM
To: 'Daniel Jacobowitz'; gdb@sources.redhat.com
Subject: RE: arm gdbserver and shared object function resolution


seems that it doesnt work in the current snapshot...

:]k

-----Original Message-----
From: Daniel Jacobowitz [mailto:drow@mvista.com]
Sent: Monday, April 29, 2002 3:19 PM
To: gdb@sources.redhat.com
Subject: Re: arm gdbserver and shared object function resolution


On Mon, Apr 29, 2002 at 03:08:08PM -0700, Kevin Squail Endres wrote:
> 
> I am using gdbserver from current cvs hosted and targeted for arm along
with
> gdb-5.1.1 hosted on i386 and target for arm.
> 
> I am trying to set a breakpoint on a function inside a .so - i am doing
the
> following
> 
> assume exec foo with function in shared object test
> 
> target: running foo under gdbserver
> 
> host: 
> 1) open foo under cross gdb
> 2) target remote
> 3) set break point at main
> 4) continue
> 5) attempt to set breakpoint in function in .so
> 
> cant resolve symbols!! (NOTE: host .so has symbols)
> 
> Further: if i use targer native gdb - set a breakpoint at main - run -
then
> set a break at function everything works as expected.
> 
> Any info on why the above scenario is failing would be much appreciated!

Because GDB 5.1.1 doesn't support remote debugging of shared libraries
on ARM.  Please try a current snapshot instead.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer


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