[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pls help me out
From: |
apgaylard |
Subject: |
Re: pls help me out |
Date: |
Tue, 21 Oct 2003 07:14:37 GMT |
> Hi Gaylard
>
> Thanks for your quick response. I was away from my
> desk and hence I could see your response only now.
> I wanted to detail the problem:
> - If I write a small program and compile it with
> either -g or -g0, I am able to load it through all the
> debuggers namely ddd/gdb/dbx.
>
> - But when it comes to my executable which is built
> from a large number of files, I could only load it
> through dbx but not with ddd/gdb.
> For both gdb/ddd when I run "file" command it is
> saying "no debugging symbols found" and if I try to
> run any command like "list" it says "no symbol table
> loaded".
> **I am wondering when I am able to use dbx on the same
> file without any probs what's causing this failure by
> using gdb/ddd.
So why not use ddd with dbx instead of gdb?
> - Krishna
>
> In fact I have written a small program
> --- Andrew Gaylard <address@hidden> wrote:
> > krishna prasad wrote:
> > > Hello All
> > >
> > > I am working on Solaris and when I tried to run a
> > > program thru ddd it is giving the following error:
> > > "no debugging symbols found" ***though I compiled
> > the
> > > program with "-g0" option.
> > >
> > > Pls suggest me if I need to do anything else.
> > >
> > > Thanks
> > > - Krishna
> >
> > What happens if you use "-g" instead?
> >
> > If you're using gcc / g++, I recommend using
> > "-ggdb3".
> >
> > This is a compiler / debugger problem.
> > It's not a ddd problem.
> >
>
>
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product search
> http://shopping.yahoo.com
---------------------------------------------
This message was sent using M-Web Airmail - JUST LIKE THAT
Get an SMS sent to your phone when you receive an email and save time and money.
M-Web members only. http://www.mweb.co.za/mobile .
- pls help me out, krishna prasad, 2003/10/20
- Re: pls help me out,
apgaylard <=