Re: compiler problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/25/05, Fred J. <phddas@xxxxxxxxx> wrote:
> (gdb) break 13/bitwise.cpp:11
> No symbol table is loaded. Use teh "file" command.
> (gdb)file 13/proj1
> Reading symbols from /home/.../13/proj1...done.
> Using host libthread_db library
> "/lib/libthread_db.so.1".
> (gdb)break 13/bitwise.cpp:11
> No source file name 13/bitwise.cpp.
> Make breakpoint pending on future shared library
> load?(y or [n])

Is that the output of gdb after starting it the way I suggested?  From
the man page:

 -d directory
               Add directory to the path to search for source files.

If it can't find the source file for bitwise.cpp, it seems to me that
the `13' directory may not be in it search path.

-- 

Regards,

Travis Spencer


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux