Re: source code location at build time affects ups
Tom Hughes <[email protected]> Thu, 02 Dec 2004 00:36:00 GMT
| Newsgroups | gmane.comp.debugging.ups.user |
|---|---|
| Message-ID | <[email protected]> |
In message <[email protected]> Callum Gibson <[email protected]> wrote: > in case it hasn't been mentioned, here is my experience. For Linux, we've > always had to specify -gstabs to get C programs to work properly with ups. > Secondly, C++ compiled with the same flags has blank source, as for William, > but works fine with ddd (and presumably gdb). Identical results with stabs+. > Adding the source path in ups doesn't have any effect. We have thousand of C source files on linux and we use either stabs+ or dwarf-2 and never have any problem with it finding the source. I think William's problem may be that he's giving the full path on the command line - we always compile in the right directory but it does still find the source if we run elsewhere. I'll try what William was doing when I get a chance and see if I can reproduce his problem. Tom -- Tom Hughes ([email protected]) Software Engineer, Cyberscience Corporation http://www.cyberscience.com/