From: Daniel Jacobowitz <drow@mvista.com>
To: Der Herr Hofrat <der.herr@mail.hofr.at>
Cc: gdb@sources.redhat.com
Subject: Re: 2.5.1 bug with local variables ??
Date: Sat, 31 Aug 2002 07:40:00 -0000 [thread overview]
Message-ID: <20020831144133.GA6148@nevyn.them.org> (raw)
In-Reply-To: <200208311211.g7VCBNk16923@hofr.at>
On Sat, Aug 31, 2002 at 02:11:23PM +0200, Der Herr Hofrat wrote:
>
> Hi !
>
> In the below gdb.log there are no local variables in fun2 (as reported by
> info local) but p /x i2 still reports a value of 0x3f (see end of gdb.log)
> this happens to be the value from i1 in fun1 - should this not show up as
>
> (gdb) info local
> No locals.
> (gdb) p /x i2
> $2 = <value optimized out>
>
> (relevant compil flags -O2 -gdwarf -g3 -ggdb3)
Could you try something other than -gdwarf - -gdwarf-2 maybe?
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
prev parent reply other threads:[~2002-08-31 14:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-31 6:08 Der Herr Hofrat
2002-08-31 7:40 ` Daniel Jacobowitz [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=20020831144133.GA6148@nevyn.them.org \
--to=drow@mvista.com \
--cc=der.herr@mail.hofr.at \
--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