*BSD News Article 46638


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!lll-winken.llnl.gov!fnnews.fnal.gov!nntp-server.caltech.edu!tejon.gps.caltech.edu!STAN
From: stan@tejon.gps.caltech.edu ("Stan")
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: gdb debugger question (FreeBSD 2.0)
Date: 10 Jul 1995 22:08:30 GMT
Organization: USGS
Lines: 16
Message-ID: <3ts8cu$hee@gap.cco.caltech.edu>
References: <rjb-0807952240230001@palpk-s13.intac.com> <DBGIpn.KGx@net-tel.co.uk>
Reply-To: stan@bombay.gps.caltech.edu
NNTP-Posting-Host: tejon.caltech.edu

In article <DBGIpn.KGx@net-tel.co.uk>, Andrew Gordon <andrew.gordon@net-tel.co.uk> writes:
>rjb@intac.com (Bob Badaracco) wrote:
>>1. What compiler options do I need to turn on in order to generate a
>>symbol table for the debugger to use?
>
>-g

I don't remember if this makes a difference, but I seem to remember that 
there are different level of debug in the compile.  I remember using -g3 to 
get full debugging enabled.  [It's been a few months since I used gdb]

--
-------------------------------------------------------------------------------
Stan Schwarz                |       "Looks like another perfect day...
stan@bombay.gps.caltech.edu |        I love L.A." - Randy Newman
-------------------------------------------------------------------------------