Re: source window is blank

Tom Hughes <[email protected]> Tue, 15 Jun 2004 18:00:41 +0100
Newsgroups gmane.comp.debugging.ups.user
Message-ID <[email protected]>
In message <[email protected]>
          choube mehul <[email protected]> wrote:

>  --- Tom Hughes <[email protected]> wrote: > In
> message
> > <[email protected]>
> >         choube mehul <[email protected]> wrote:
> > 
> > >     i downloaded ups-3.37.tar.gz.
> > >     i compiled and installed ups on linux.
> > >     Red Hat Linux release 9 (Shrike)
> > >     Kernel 2.4.20-8 on an i686
> > >
> > >     i am not able to see source code in source
> > window.
> > 
> > You did compile your program with -g I assume?
> > 
> > >     i tried with Add Path.
> > 
> > You shouldn't need to do that if you're using gcc.
> 
>     i am compiling the program with -g.

But you're only using ups 3.37 I notice. That doesn't have support
for DWARF debug symbols which is what you compiler is probably
producing by default as it is gcc 3.

You need to use -gstabs+ to get stabs debug symbols, or switch to
a newer ups which has DWARF support.

Tom

-- 
Tom Hughes ([email protected])
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/