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: gdb search wrong source file


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


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