🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #674

Gdb 3.0 does not work with -gg [Was: xgdb?]

#674
From: Randy Smith
Date: Tue, 17 Jan 1989 17:11
20 lines
1183 bytes
> If the source was compiled with cc -g (same as for dbx), then it
> should.  Using gcc -gg inserts more and more useful information for
> use by gdb, though.

    Actually, the only advantage to gcc -gg is faster startup than
  with -g (the data structures are put in gdb format by gcc, so no
  processing needs to be done).  I'm attempting to address this
  problem with delayed readin of dbx symbol information.  If I succeed
  in making startup blindingly fast, we may do away with -gg format
  entirely.

    Meanwhile, I haven't been worrying too much about keeping -gg
  format working.  Specifically, it doesn't work for gdb 3.0.  So if
  you are using 3.0, stick with -g.

						-- Randy

						GDB maintainer
						Project GNU
Technical Details
Message-ID: <8901171711.AA11477@hobbes>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!WHEATIES.AI.MIT.EDU!randy
References: <31557@tut.cis.ohio-state.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!WHEATIES.AI.MIT.EDU!randy
From: randy@WHEATIES.AI.MIT.EDU (Randy Smith)
Newsgroups: gnu.gdb.bug
Subject: Gdb 3.0 does not work with -gg [Was: xgdb?]
Message-ID: <8901171711.AA11477@hobbes>
Date: 17 Jan 89 17:11:14 GMT
References: <31557@tut.cis.ohio-state.edu>
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 20