Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Eli Zaretskii" <eliz@gnu.org>
To: Paul Hilfinger <hilfingr@EECS.Berkeley.EDU>
Cc: 999alfred@comcast.net, gdb@sources.redhat.com
Subject: Re: Still problems with gdb and nested functions.
Date: Tue, 22 Feb 2005 20:56:00 -0000	[thread overview]
Message-ID: <01c51920$Blat.v2.4$6faec620@zahav.net.il> (raw)
In-Reply-To: <200502222015.j1MKFB1q017797@tully.CS.Berkeley.EDU> (message from Paul Hilfinger on Tue, 22 Feb 2005 12:15:11 -0800)

> cc: gdb@sources.redhat.com
> Date: Tue, 22 Feb 2005 12:15:11 -0800
> From: Paul Hilfinger <hilfingr@EECS.Berkeley.EDU>
> 
> > No symbol "k" in current context.
> 
> I presume you have confirmed that k is actually there (since it is set
> only from a constant, it could be folded away even without fancy
> optimization).

AFAIK, GCC never optimizes _anything_ under -O0, not even redundant
register reloads.

Anyway, the disassembly I posted shows that k does in fact exist and
is stored on the stack, as expected.


  parent reply	other threads:[~2005-02-22 20:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-22 19:31 tj
2005-02-22 20:27 ` Paul Hilfinger
2005-02-22 20:45   ` Cal Erickson
2005-02-22 20:53     ` Eli Zaretskii
2005-02-22 21:02       ` Cal Erickson
2005-02-22 21:43       ` Cal Erickson
2005-02-22 20:56   ` Eli Zaretskii [this message]
2005-02-22 20:50 ` Eli Zaretskii

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='01c51920$Blat.v2.4$6faec620@zahav.net.il' \
    --to=eliz@gnu.org \
    --cc=999alfred@comcast.net \
    --cc=gdb@sources.redhat.com \
    --cc=hilfingr@EECS.Berkeley.EDU \
    /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