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 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 Subject: gcc 3.0.2 and -ggdb debugging info Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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/ ]