| delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-workers-bounces using -f |
| Date: | Fri, 21 Dec 2001 09:09:16 +0200 (WET) |
| From: | Andris Pavenis <pavenis AT lanet DOT lv> |
| X-Sender: | pavenis AT ieva06 |
| To: | Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk> |
| Cc: | DJGPP workers <djgpp-workers AT delorie DOT com> |
| Subject: | Re: gcc 3.0.2 and -ggdb debugging info |
| In-Reply-To: | <3C227C35.8DC5059@phekda.freeserve.co.uk> |
| Message-ID: | <Pine.A41.4.05.10112210905310.35680-100000@ieva06> |
| MIME-Version: | 1.0 |
| Reply-To: | djgpp-workers AT delorie DOT com |
| Errors-To: | nobody AT delorie DOT com |
| X-Mailing-List: | djgpp-workers AT delorie DOT com |
| X-Unsubscribes-To: | listserv AT delorie DOT com |
On Fri, 21 Dec 2001, Richard Dawe wrote: > 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. At least I have used it to debug some libstdc++ problems (filebuf has problems with DOS style text files, not hopefully fixed as far as I could in port of gcc-3.0.2. I used prerelease version of gdb-5.1 and now release of gdb-5.1. > > 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'? > Andris
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |