Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@is.elta.co.il>
To: gdb@sources.redhat.com
Cc: djgpp-workers@delorie.com
Subject: Re: Problem with gcc 2.953 debug back-annotation (fwd)
Date: Tue, 03 Apr 2001 02:21:00 -0000	[thread overview]
Message-ID: <Pine.SUN.3.91.1010403111739.10465T-100000@is> (raw)

Regarding the below: does anyone know whether GDB is supposed to work 
with programs where some of the object modules were compiled with 
-gcoff, others with -gstabs?  Or does this sound as a GCC or 
DJGPP-specific issue?

TIA

---------- Forwarded message ----------
Date: Tue, 3 Apr 2001 11:18:45 +0300
From: pavenis@lanet.lv
To: djgpp-workers@delorie.com
Subject: Re: Problem with gcc 2.953 debug back-annotation

On 3 Apr 2001, at 9:12, Andris Pavenis wrote:

> 
> 
> On Mon, 2 Apr 2001, Eli Zaretskii wrote:
> 
> > 
> > On Mon, 2 Apr 2001 pavenis@lanet.lv wrote:
> > 
> > > however I have examples where debugging
> > > is practically impossible when compiled with -gcoff both with gcc-
> > > 2.95.2 and 2.95.3, so it's not a regression
> > 
> > Can you post these examples?  Thanks.
> > 
> 
> It's real applications (C++), that uses large number of other stuff, so it
> would be difficult. However browsing output of 'objdump --debug' doesn't
> show anything bad. In real life after linking debugger wants to use some
> STL header file instead of real source (strange with -g)
> 

It seems to be binutils problem as presence of that problem depends 
on order of object files in command line when linking (when some of 
sources are compiled with -g and some with -gstabs+ or -gstabs, if all 
C++ sources are compiled with -g, the I have no problem)

Andris



                 reply	other threads:[~2001-04-03  2:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.SUN.3.91.1010403111739.10465T-100000@is \
    --to=eliz@is.elta.co.il \
    --cc=djgpp-workers@delorie.com \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox