This is the mail archive of the
archer@sourceware.org
mailing list for the Archer project.
Re: [archer-keiths-expr-cumulative] gdb.cp/namespace-multiple-imports.expFAIL
- From: Sami Wagiaalla <swagiaal at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: archer at sourceware dot org
- Date: Wed, 12 Aug 2009 16:20:21 -0400
- Subject: Re: [archer-keiths-expr-cumulative] gdb.cp/namespace-multiple-imports.expFAIL
- References: <20090812151520.GA14465@host0.dyn.jankratochvil.net>
print xx
No symbol "xx" in current context.
(gdb) FAIL: gdb.cp/namespace-multiple-imports.exp: print xx
With both gcc-c++-4.4.0-4 and 4.5.0 20090812.
I did not check it more but is it a known problem?
Yeah its a know problem, I should mark it as an xfail.
I disabled recursive lookup because it was causing gdb to go
into an infinite loop in cases like this:
namespace A{
using namespace A;
int x = 45;
}
using namespace A;
int main(){
return A::x;
}
It turns out that fixing this properly is a bit of a task.
I added this testcase (74b786affde6239df0b070e4260f9f7dc5aab931)
a few days ago to make note of it.
Sami