public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* egcs-1.0.1 and gdb
@ 1998-02-04  7:56 H.-Udo Hain
  1998-02-06  0:40 ` Jeffrey A Law
  0 siblings, 1 reply; 2+ messages in thread
From: H.-Udo Hain @ 1998-02-04  7:56 UTC (permalink / raw)
  To: egcs

I installed the egcs-1.0.1 compiler on my PPro running Solaris 2.5.1. The first
thing I tried was to compile with debug information. But it does not work. I
tried all the different -g options, but gdb-4.16 is not able to find the
debugging symbols? I did

./configure --prefix=/server/local/egcs --with-gnu-as --with-stabs
make bootstrap
make install

There is another gcc version istalled, the pgcc-2.90.21 971202 (egcs-1.00
release). I've got it as a package for Solaris. With this gcc I only need to
use the -g switch, and the debugging symbols are included.

What's wrong?

MfG Udo

-- 
+------------------------------------------------------------+
| SIEMENS AG           Tel: +49 (0)89 / 636 - 50879          |
| ZT IK 5              Fax: +49 (0)89 / 636 - 49802          |
| D-81730 Muenchen     email: Horst-Udo.Hain@mchp.siemens.de |
+------------------------------------------------------------+

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: egcs-1.0.1 and gdb
  1998-02-04  7:56 egcs-1.0.1 and gdb H.-Udo Hain
@ 1998-02-06  0:40 ` Jeffrey A Law
  0 siblings, 0 replies; 2+ messages in thread
From: Jeffrey A Law @ 1998-02-06  0:40 UTC (permalink / raw)
  To: H.-Udo Hain; +Cc: egcs

  In message < 199802041558.QAA12988@schoenberg.mchp.siemens.de >you write:
  > I installed the egcs-1.0.1 compiler on my PPro running Solaris 2.5.1. The
  > first thing I tried was to compile with debug information. But it does not
  > work.  I tried all the different -g options, but gdb-4.16 is not able to find the
  > debugging symbols? I did
Did you try -gstabs?

BY default I believe x86-solaris uses dwarf debug records, which gdb-4.16
has a difficult time understanding.

jeff

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-02-06  0:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-02-04  7:56 egcs-1.0.1 and gdb H.-Udo Hain
1998-02-06  0:40 ` Jeffrey A Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).