delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/12/20/19:06:19.1

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
Sender: rich AT phekda DOT freeserve DOT co DOT uk
Message-ID: <3C227C35.8DC5059@phekda.freeserve.co.uk>
Date: Fri, 21 Dec 2001 00:03:01 +0000
From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19 i586)
X-Accept-Language: de,fr
MIME-Version: 1.0
To: DJGPP workers <djgpp-workers AT delorie DOT com>
Subject: gcc 3.0.2 and -ggdb debugging info
Reply-To: djgpp-workers AT delorie DOT com

Hello.

Does the '-ggdb' option work with gcc 3.0.2? I've been trying to debug a
program compiled with the '-ggdb3' option with gdb 4.18 and 5.0 and I get
a 'No line known for main' (or similar wording) when I do 'l main'. I
tried compiling with just '-ggdb', but I got the same result. When I fall
back on compiling with '-g', I can debug again.

So, is this a toolchain issue (gdb 5.0 doesn't support something gcc 3.0.2
does) or is there a bug in gcc 3.0.2's handling of '-ggdb'?

Thanks, bye, Rich =]

-- 
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019