Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Sami Wagiaalla <swagiaal@redhat.com>
To: Ulrich Weigand <uweigand@de.ibm.com>
Cc: Tom Tromey <tromey@redhat.com>, gdb-patches@sourceware.org
Subject: Re: [patch] Add support for imported declaration and correct search   order
Date: Tue, 23 Mar 2010 20:51:00 -0000	[thread overview]
Message-ID: <4BA92962.6050206@redhat.com> (raw)
In-Reply-To: <201003232031.o2NKV6fE029643@d12av02.megacenter.de.ibm.com>

On 03/23/2010 04:31 PM, Ulrich Weigand wrote:
> Sami Wagiaalla wrote:
>
>>      2010-03-03  Sami Wagiaalla<swagiaal@redhat.com>
>>
>>          * gdb.cp/shadow.exp: Removed kfail; test has been fix.
>
> This test is now failing for me:
>
> print x
> $5 = 55
> (gdb) FAIL: gdb.cp/shadow.exp: Print imported namespace x
>
> (Same value as with GDB 7.1, except the test was KFAILed there ...)
>

I can try to reproduce it. Which compiler are you using ?

> Any suggestions where to look?
>

In lookup_symbol_aux_local the call to cp_lookup_symbol_imports is 
failing so the local variable in the outer block is being found. IIRC 
the import statement was not nested correctly with older compilers so 
that would be my first guess.


  reply	other threads:[~2010-03-23 20:51 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-25 20:17 Sami Wagiaalla
2010-02-25 21:50 ` Tom Tromey
2010-02-25 22:42 ` Jan Kratochvil
2010-02-26 20:11   ` Tom Tromey
2010-03-03 21:46     ` Sami Wagiaalla
2010-03-03 22:00       ` Tom Tromey
2010-03-08 16:39         ` Sami Wagiaalla
2010-03-08 18:58           ` Tom Tromey
2010-03-09 18:21             ` Sami Wagiaalla
2010-03-09 18:27               ` Tom Tromey
2010-03-23 20:31               ` Ulrich Weigand
2010-03-23 20:51                 ` Sami Wagiaalla [this message]
2010-03-23 21:35                   ` Ulrich Weigand
2010-03-29 14:48                     ` Sami Wagiaalla
2010-03-29 17:27                       ` Tom Tromey
2010-03-29 17:23                         ` Sami Wagiaalla

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=4BA92962.6050206@redhat.com \
    --to=swagiaal@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=tromey@redhat.com \
    --cc=uweigand@de.ibm.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