This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Setting library path
- From: Daniel Jacobowitz <drow at false dot org>
- To: Arun Biyani <abiyani at unix dot telasic dot com>
- Cc: gdb at sourceware dot org
- Date: Mon, 8 Jan 2007 14:16:05 -0500
- Subject: Re: Setting library path
- References: <45A295B3.6010504@unix.telasic.com>
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