This is the mail archive of the archer@sourceware.org mailing list for the Archer 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: [archer-keiths-expr-cumulative] gdb.cp/namespace-multiple-imports.expFAIL



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


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