This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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: compiler problem


On 7/25/05, Fred J. <phddas@yahoo.com> 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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]