This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: compiler problem
- From: "Fred J." <phddas at yahoo dot com>
- To: Travis Spencer <travislspencer at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Mon, 25 Jul 2005 13:27:56 -0700 (PDT)
- Subject: Re: compiler problem
--- Travis Spencer <travislspencer@gmail.com> wrote:
> On 7/24/05, Fred J. <phddas@yahoo.com> wrote:
> > the reason I am asking is because when I
> > Run gdb (like this): gdb
> > ~/Exercies/ThinkingInC++/Vol1/C03/13/proj1
> >
> > I get
> > Current directory is
> > /home/sam/Exercies/ThinkingInC++/Vol1/C03/13/
>
> What about starting the debugger like so:
>
> sam@debian:~/Exercies/ThinkingInC++/Vol1/$ gdb -d 13
> -d 14
>
> --
>
> Regards,
>
> Travis Spencer
>
(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])
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs