Path: 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 > 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