Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: gdb@sources.redhat.com, Reiner.Steib@gmx.de
Subject: Re: Variable "foo" is not available
Date: Fri, 01 Apr 2005 17:19:00 -0000	[thread overview]
Message-ID: <20050401171947.GA19058@nevyn.them.org> (raw)
In-Reply-To: <v9mzsisb72.fsf@marauder.physik.uni-ulm.de>

On Fri, Apr 01, 2005 at 06:39:45PM +0200, Reiner Steib wrote:
> Hi,
> 
> while running Emacs under gdb, I got the backtrace shown below with
> many messages like `vector=Variable "vector" is not available'.
> Eli Zaretskii suggested[1] to ask here what this means.
> 
> The gdb version is 6.2.1 (from SuSE Linux 9.2 AMD 64).  The gdb
> session is still running, so I can provide more information if
> requested.

It means, literally, that the value is not available.  The compiler has
not saved it in somewhere that is still accessible, or has not told GDB
properly where it was saved.

(There's always a chance that it's a GDB bug, of course.  But that's
what the message is intended to mean.)

If you use a March CVS snapshot of GDB, the output will be a little
nicer, and following function arguments won't be chopped off.

> #61 0x000000000054c960 in internal_catch (tag=Variable "tag" is not available.
> )
>     at [...]/emacs/src/eval.c:1144

What this normally means is that you are using optimization, and the value
of tag is not referenced after the function call, so the compiler did
not save it anywhere.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


  reply	other threads:[~2005-04-01 17:19 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-01 16:40 Reiner Steib
2005-04-01 17:19 ` Daniel Jacobowitz [this message]
2005-04-02  9:49   ` Eli Zaretskii
2005-04-02 13:53     ` Reiner Steib
2005-04-02 14:27       ` Daniel Jacobowitz
2005-04-06 16:25         ` Reiner Steib
2005-04-02 14:26     ` Daniel Jacobowitz
2005-04-02 18:17       ` Eli Zaretskii
2005-04-02 18:40         ` Daniel Jacobowitz
2005-04-02 20:58           ` Eli Zaretskii
2005-04-02 21:05             ` Daniel Jacobowitz
2005-04-04  5:14               ` Eli Zaretskii
2005-04-04  6:00                 ` Mark Kettenis
2005-04-04  7:58                 ` Daniel THOMPSON
2005-04-04 19:28                   ` Eli Zaretskii
2005-04-04 13:37                 ` Daniel Jacobowitz
2005-04-04 19:35                   ` Eli Zaretskii
2005-04-04 19:41                     ` Daniel Jacobowitz
2005-04-03 18:16           ` Reiner Steib
2005-04-08 11:05       ` Eli Zaretskii
2005-04-04  9:26     ` Reiner Steib

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=20050401171947.GA19058@nevyn.them.org \
    --to=drow@false.org \
    --cc=Reiner.Steib@gmx.de \
    --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