Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@cygnus.com>
To: Eli Zaretskii <eliz@delorie.com>
Cc: kingdon@redhat.com, gdb@sourceware.cygnus.com
Subject: Re: Dependence on config.status
Date: Fri, 03 Mar 2000 23:08:00 -0000	[thread overview]
Message-ID: <38C0ACF2.C00719B0@cygnus.com> (raw)
In-Reply-To: <200003021007.FAA04124@indy.delorie.com>

Eli Zaretskii wrote:
> 
> > Well, if memory serves, if you re-ran configure in such a way that
> > tm.h started linking to a different file, then the config.status
> > dependency was the only way to force a rebuild.
> 
> How about adding some #define to config.h that would also change when
> this happens?

Such as the names of the tm, xm and nm files?

	Andrew
From martin@loewis.home.cs.tu-berlin.de Sat Mar 04 01:47:00 2000
From: "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
To: tjw@omnigroup.com
Cc: shebs@apple.com, gdb@sourceware.cygnus.com, gcc@gcc.gnu.org
Subject: Re: Should GCC tell GDB about its optimizations?
Date: Sat, 04 Mar 2000 01:47:00 -0000
Message-id: <200003040942.KAA13582@loewis.home.cs.tu-berlin.de>
References: <0003031702.AA550283@electabuzz>
X-SW-Source: 2000-03/msg00074.html
Content-length: 863

>   What sort of squirrelly behavior are you talking about exactly?  If it is 
> just the typical problem where GCC reuses register's and stack locations 
> when variables lifetime's are over, this would seem like a gdb problem, not 
> a GCC problem.

I don't know what problem Stan is talking about, but I know there are
other problems:

- If  a function  is inlined,  single-stepping will  get you  into the
  function source code. However, it won't appear in the backtrace, and
  invoking 'fin' will do the wrong thing.

- Again, in inlining, the compiler will not put information about
  function parameters into the stabs if the parameters are
  optimized-away.

- The same holds for local variables - if they are eliminated, gdb
  won't know about them - they just don't exist in the debug
  information (or, in the code, for that matter)

Regards,
Martin


      parent reply	other threads:[~2000-03-03 23:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200002280657.BAA27090@indy.delorie.com>
     [not found] ` <38BCCA84.74A4143E@cygnus.com>
     [not found]   ` <bem9u49sh.fsf@rtl.cygnus.com>
2000-03-03 22:53     ` Eli Zaretskii
     [not found]     ` <200003021007.FAA04124@indy.delorie.com>
2000-03-03 23:08       ` Andrew Cagney [this message]

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=38C0ACF2.C00719B0@cygnus.com \
    --to=ac131313@cygnus.com \
    --cc=eliz@delorie.com \
    --cc=gdb@sourceware.cygnus.com \
    --cc=kingdon@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