Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!nueng.ai.mit.edu!deeb From: deeb@nueng.ai.mit.edu (Stephen Humble) Newsgroups: gnu.g++.bug Subject: g++ vs. Sun dbx Message-ID: <8910241924.AA21157@nueng.COE.Northeastern.EDU> Date: 24 Oct 89 19:24:38 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 32 (My mailer is broken, so the From field is probably wrong. I am "deeb@nueng.coe.northeastern.edu".) dbx from SunOS 4.0 doesn't like g++ output. gdb 3.2 has no problems. It would be nice if I could use both debuggers... Using g++ version 1.35, SunOS 4.0, Sun dbx, and the following program: ----------Cut Here------------------------------Cut Here------------- #include main() { cout << "Hello, world.\n"; } ----------Cut Here------------------------------Cut Here------------- 9$ g++ -v hello.cc g++ version 1.35.0 /usr/local/lib/gcc-cpp -+ -v -undef -D__GNU__ -D__GNUG__ -D__cplusplus -Dmc68000 -Dsun -Dunix -D__mc68000__ -D__sun__ -D__unix__ -D__HAVE_68881__ -Dmc68020 hello.cc /tmp/cca01417.cpp GNU CPP version 1.35 /usr/local/lib/gcc-cc1plus /tmp/cca01417.cpp -quiet -dumpbase hello.cc -noreg -version -o /tmp/cca01417.s GNU C++ version 1.35.0 (68k, MIT syntax) compiled by GNU C version 1.35. as -mc68020 /tmp/cca01417.s -o hello.o /usr/local/lib/gcc-ld++ -C -dc -dp /usr/local/lib/crt0+.o /lib/Mcrt1.o hello.o -lg++ /usr/local/lib/gcc-gnulib -lc 10$ dbx a.out Reading symbolic information... dbx: internal error: unexpected value 47 at line 2019 in file ../common/object.c 11$ a.out Hello, world. 12$