Article View: gnu.g++.bug
Article #1539Difference between -g and -g0
From: "Douglas C. Schmidt"
Date: Sat, 26 Nov 1988 19:30
Date: Sat, 26 Nov 1988 19:30
27 lines
1434 bytes
1434 bytes
Hi, Could someone please explain to me the difference between -g and -g0 for g++ 1.27? For some reason, compiling programs with -g results in executables that kill the debugger, whereas -g0 works just fine with the debugger ( gdb+, 2.8 ). The type of problem is manifested as follows: ---------------------------------------- Script started on Sat Nov 26 11:26:36 1988 [/cd/cd/schmidt/test ] [/cd/cd/schmidt/test] [7m[11:26am][m [london] [1]..: gdb+ CIF GDB 2.8.0 (GNU C++ 1.27.0 compatible), Copyright (C) 1988 Free Software Foundation, Inc. There is ABSOLUTELY NO WARRANTY for GDB; type "info warranty" for details. GDB is free software and you are welcome to distribute copies of it under certain conditions; type "info copying" to see the conditions. Reading symbol data from /cd/cd/schmidt/test/CIF...Invalid symbol data: invalid character \075 at symbol pos 2584. Type "help" for a list of commands. (gdb+) quit ---------------------------------------- thanks, Doug
Technical Details
Message-ID:
<8811261130.aa20618@PARIS.ICS.UCI.EDU>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!ORION.CF.UCI.EDU!schmidt%london.ics.uci.eduShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!ORION.CF.UCI.EDU!schmidt%london.ics.uci.edu
From: schmidt%london.ics.uci.edu@ORION.CF.UCI.EDU ("Douglas C. Schmidt")
Newsgroups: gnu.g++.bug
Subject: Difference between -g and -g0
Message-ID: <8811261130.aa20618@PARIS.ICS.UCI.EDU>
Date: 26 Nov 88 19:30:20 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 27