🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #500

static functions invisible?

#500
From: Henry Minsky
Date: Thu, 01 Oct 1992 18:56
5 lines
692 bytes
If a function is declared static in a file, then when compiled under
cc, with -g, there seems to be no symbol table entry for it, so that I
can't set breakpoints on it in gdb.

Is there any reason for this?
Technical Details
Message-ID: <9210011856.AA00855@transit>
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!constellation!convex!convex!cs.utexas.edu!sun-barr!ames!agate!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!ai.mit.edu!hqm

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gdb.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!constellation!convex!convex!cs.utexas.edu!sun-barr!ames!agate!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!ai.mit.edu!hqm
From: hqm@ai.mit.edu (Henry Minsky)
Subject: static functions invisible?
Message-ID: <9210011856.AA00855@transit>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Thu, 1 Oct 1992 18:56:12 GMT
Approved: bug-gdb@prep.ai.mit.edu
Lines: 6