On Sat, Jul 28, 2001 at 04:20:20PM +0530, Somavarapu, Lakshmi Sumathi (Lakshmi) wrote:
> > Hi,
> >
> > While using gdb with two .o files I am getting the error message of " no
> > debugging symbols found" while it works fine with a
> > single file. The following were the command that I used.(Source files
> > being t.c t1.c)
> >
> > $ CC -g -c t1.c
> > $ CC -g -c t.c
> > $CC t1.o t.o -o t
> > $gdb t
> >
> > Please help solve it.
You need to link with -g as well.
-- Beno�t
_______________________________________________
Bug-gdb mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gdb