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: Setting library path


On Mon, Jan 08, 2007 at 11:04:19AM -0800, Arun Biyani wrote:
> I have been trying to setup GDB for cross debugging. Host x86 Linux. 
> Remote Coldfire 5272. Gdb behaves
> strangely. Setting a breakpoint causes illegal instruction trap after 
> the breakpoint is executed. While searching
> the web, I came across this hint below.

> How do I tell gdb where the libraries are? I am using "m68k-elf-gdb" 
> which I found at snapgear.org. On the
> system, I can see /usr/local/m68k-uclinux/lib

That is for targeting a system using shared libraries.  If you are
using m68k-elf, you are probably not using shared libraries, and this
won't help you.

I don't know what might be wrong, but it sounds like your GDB and
target do not agree on the proper breakpoint.

-- 
Daniel Jacobowitz
CodeSourcery


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