gcc 3.2/Linux/ups 3.38-beta2 failures

"William F. Dowling" <[email protected]> Mon, 15 Dec 2003 15:31:54 -0500
Newsgroups gmane.comp.debugging.ups.user
Message-ID <[email protected]>
I am having trouble getting ups to work (g++ 3.2; ups 3.38-beta2;
Debian i686 GNU/Linux).  Even with just a hello.cpp program
there are severe problems.  My program:

  #include <iostream>
  int main (int argc, char ** argv)
  {
    std::cerr << "hello world.\n";
  }

If I compile like this:
  g++ -g hello.cpp   -o hello

ups displays the source of hello.cpp; but if I try to display any
data, for example by clicking on argc after stopping at (the only
place in this program I could put) a breakpoint, ups exits with this
message:
  Already saved typename rebind<char> in this CU <2490>
  Fatal error: segmentation fault.
  Dumping core ... Segmentation fault

If I compile like this:
  g++ -gstabs hello.cpp   -o hello

ups does not display the source in the source window, nor does it list
hello.cpp among the Source files.

Does anyone have ups working with g++ 3.2?  If so, how did you set
things up to get it to work?

Thanks,

Will Dowling
Thomson/ISI (www.isinet.com)
215-386-0100 x-1156



$ ups -V
ups version 3.38-beta2 (build date: Sun Aug 31 09:25:53 BST 2003)

Library versions:
        arg version 1.26 (build date: Sun Jun 4 22:40:57 BST 1995)
        obj version 1.36 (build date: Sun Jun 4 22:40:13 BST 1995)
        edit version 1.17 (build date: Tue Jun 20 22:57:59 BST 1995)
        Men3wn version 1.34 (build date: Sun Jun 4 22:38:13 BST 1995)
        mtrprog version 1.41 (build date: Sun Jun 4 22:26:40 BST 1995)
        ukcprog version 1.22 (build date: Tue Jan 10 10:03:27 GMT 1995)
        wn version 1.86 (build date: Sun Jun 4 22:32:12 BST 1995)

Target drivers: 
        C interpreter output files
        C source files
        Native support for i686-pc-linux-gnu ELF object files

$ g++ --version
g++ (GCC) 3.2.3 (Debian)
Copyright (C) 2002 Free Software Foundation, Inc.


________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System.