🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by "Douglas C. Schmidt" Sat, 26 Nov 1988 19:30
Difference between -g and -g0
#1539
Author: "Douglas C. Schmidt"
Date: Sat, 26 Nov 1988 19:30
27 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads