Setting library path
Daniel Jacobowitz
drow@false.org
Mon Jan 8 19:16:00 GMT 2007
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
More information about the Gdb
mailing list