gdb search wrong source file

Daniel Jacobowitz drow@false.org
Thu Sep 27 12:07:00 GMT 2007


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



More information about the Gdb mailing list