This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: gdb search wrong source file
- From: Daniel Jacobowitz <drow at false dot org>
- To: xchen <xchen at sunrisetelecom dot com dot cn>
- Cc: gdb at sourceware dot org
- Date: Thu, 27 Sep 2007 08:06:18 -0400
- Subject: Re: gdb search wrong source file
- References: <20070927082957.51BBB9829E@nan.false.org>
On Thu, Sep 27, 2007 at 04:29:09PM +0800, xchen wrote:
> Hi,
>
> I use gdbserver run on my board. The problem is that gdb search wrong
> source file.Blowed is my snapshot.
>
> Breakpoint 1, 0x1000a5cc in main ()
> (gdb) list
> 1 in ../sysdeps/powerpc/powerpc32/elf/start.S
You do not have debugging information for main. Your program was
either compiled without debug info, or stripped.
--
Daniel Jacobowitz
CodeSourcery