🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #194

GDB 3.2 problem with sun4-os4

#194
From: Randall Smith
Date: Sun, 16 Jul 1989 20:35
27 lines
1787 bytes

> I get the following error when using gdb on a somewhat substantial program:
> 
> hail:gerry:2>/usr/local/src/dist-gdb/gdb ialsv
> GDB 3.2, Copyright (C) 1988 Free Software Foundation, Inc.
> There is ABSOLUTELY NO WARRANTY for GDB; type "info warranty" for details.
> GDB is free software and you are welcome to distribute copies of it
>  under certain conditions; type "info copying" to see the conditions.
> Reading symbol data from /home/tdwr/int1.05/integration/ialsv...gdb: Internal error: Unexpected debugging symbol type 't' at symnum 6909556.
> 
> The program was compiled using cc.  Gdb was compiled using cc.  (The
> same error appears when gdb is compiled using gcc.)

    Did you use the -Bstatic flag to cc?  Sun OS 4 supports shared
  libraries which GDB does not support, and sun makes their use the
  default.  To use GDB under Sun OS 4 you need to turn off the use of
  shared libraries by giving the -Bstatic flag to the loading pass of
  cc when compiling the program on which gdb will run.  

    If anyone would like to implement support for Sun shared libraries
  in a clean way (ie. that would make it easy for GDB to use the same
  code for other, different, implementations of shared libraries), we
  would probably be willing to merge the patches into the GDB
  distribution. 

						-- Randy
Technical Details
Message-ID: <8907162036.AA22074@hobbes.ai.mit.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ai.mit.edu!randy
References: <WIENER.89Jul15232447@stout.stout.UCAR.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ai.mit.edu!randy
From: randy@ai.mit.edu (Randall Smith)
Newsgroups: gnu.gdb.bug
Subject: GDB 3.2 problem with sun4-os4
Message-ID: <8907162036.AA22074@hobbes.ai.mit.edu>
Date: 16 Jul 89 20:35:55 GMT
References: <WIENER.89Jul15232447@stout.stout.UCAR.EDU>
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 27