X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f From: pavenis AT lanet DOT lv To: Eli Zaretskii , djgpp-workers AT delorie DOT com Date: Tue, 29 Jan 2002 12:13:09 +0200 MIME-Version: 1.0 Subject: Re: gcc-3.X and dwarf-2 debug info Message-ID: <3C5691D5.1019.61AE57@localhost> References: <3C55A7FC DOT 22821 DOT 1A60DD6 AT localhost> In-reply-to: X-mailer: Pegasus Mail for Windows (v4.01) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Reply-To: djgpp-workers AT delorie DOT com On 29 Jan 2002 at 12:01, Eli Zaretskii wrote: > > On Mon, 28 Jan 2002 pavenis AT lanet DOT lv wrote: > > > Seems we have a serious trouble with using GCC-3.X with > > DWARF-2 debug info.I tested gcc-3.0.3 release and gcc-3.1 20020124 > > and got the same problem > > > > Specifying DWARF-2 debug info (eg. -ggdb3) breaks > > C++ exceptions completelly: No exceptions are catched at all > > even in a simple examples. > > If you can throw together a short program which demonstrates this, it > might be a good idea to post that to the gdb mailing list, because it > might be a general bug, not something limited to DJGPP. (Unless you > already know that other GCC/GDB ports don't have this problem.) Verified the same example works when compiled with gcc-3.1 20020127 compiled for target i686-pc-linux-gnu when I'm using DWARF-2 debug info. So more likely it's DJGPP or COFF related trouble (I don't know) Andris