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: Mon, 4 Feb 2002 12:45:48 +0200 MIME-Version: 1.0 Subject: Re: gcc-3.X and GDB Message-ID: <3C5E827C.11149.8DDF2@localhost> In-reply-to: <3028-Sat02Feb2002171323+0200-eliz@is.elta.co.il> References: <3C5C10D9 DOT 12475 DOT 218886 AT localhost> (pavenis AT lanet DOT lv) 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 Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On 2 Feb 2002 at 17:13, Eli Zaretskii wrote: > > From: pavenis AT lanet DOT lv > > Date: Sat, 2 Feb 2002 16:16:25 +0200 > > > > > > Does it matter what debug info (COFF, stabs, DWARF2) was it compiled > > > with? > > > > First impression is that it happens if stabs or DWARF debugging information > > is used in 2 or more files. It's not enough to have only one file with > > DWARF or stabs debugging info. Also it seems that use of COFF debugging info > > does not cause problems. > > If this isn't DJGPP-specific, please report to the GDB mailing list. > There's quite a lot going on lately with the debug info readers in > GDB, due to significant changes in GCC 3.x. Perhaps this is some bug > they need to know about. > Reproduced it under Linux: - stripped debug information fromn one my static object library - linked one executable (more that one C++ source file) with this library - command 'where' showed wrong locations in main.cc for procedures in stripped library It doesn't seem to happen with shared libraries though, but they are usualy built with debug info. Perhaps I should prepare some nice test example to be sent to GDB mailing list. Anyway I think it could also be some problem in linker at time of merging debug info from fultiple source files. Andris