From: Daniel Jacobowitz <drow@false.org>
To: Neo <cjia@cse.unl.edu>
Cc: gdb <gdb@sourceware.org>
Subject: Re: GDB crashes when call member function having same name as a local pointer variable
Date: Fri, 02 Feb 2007 19:43:00 -0000 [thread overview]
Message-ID: <20070202194329.GA6814@nevyn.them.org> (raw)
In-Reply-To: <45C38D6A.40204@cse.unl.edu>
On Fri, Feb 02, 2007 at 01:13:46PM -0600, Neo wrote:
> I am wondering if it would be a bug. The following is the tiny program I
> am using to test. This test failed on both gdb 6.5 and 6.6
I don't think it is. GDB always evaluates expressions in the context
of the current program location; if you ask it to print just "data", it
will show you whether it's a function or not.
--
Daniel Jacobowitz
CodeSourcery
prev parent reply other threads:[~2007-02-02 19:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-02 19:14 Neo
2007-02-02 19:43 ` 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=20070202194329.GA6814@nevyn.them.org \
--to=drow@false.org \
--cc=cjia@cse.unl.edu \
--cc=gdb@sourceware.org \
/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