Path: utzoo!utgpu!cunews!bnrgate!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request From: bagchi@engin.umich.edu (Ranjan Bagchi) Newsgroups: comp.sys.sun Subject: -g? Keywords: No Digest Subjects in Unmoderated Mode Message-ID: <3723@brchh104.bnr.ca> Date: 5 Jun 91 14:17:00 GMT Sender: news@brchh104.bnr.ca Organization: Sunspots, Pseudo-Unmoderated Lines: 17 Approved: sun-spots@rice.edu X-Original-Date: Tue, 4 Jun 1991 21:28:23 GMT Does anyone have any information about what exactly the -g option on compilers does? I'm working with SPARC assembly, and although I've examined the output of cc -S, I've only been partially successful in duplicating the effect on my own assembly code -- the debugger knows what line I'm on, but can't read the symbols in my assembly code. Obviously, I intend to automate the process...I've been looking at gcc code, and have a half-written perl filter which does the line marking, so if anyone has code or the information I need, please help. I'll summarize to the net. -rj --