This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Add support for imported declaration and correct search order


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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]