This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFA: implement ambiguous linespec proposal
On 11/15/2011 05:10 AM, Tom Tromey wrote:
> Tom> Here is a refresh of this patch. This fixes the regressions noted by
> Tom> Jan, but also changes ovsrch.exp not to assume that namespace lookups
> Tom> are done.
>
> Here is the final revision.
Tom,
I applied it to GDB CVS 2011-11-10, and run regression test on
tic6x-uclinux. There are two new fails,
-PASS: gdb.cp/ovsrch.exp: break outer::foo if (a == 3)
+FAIL: gdb.cp/ovsrch.exp: break A::outer::foo if (a == 3)
-PASS: gdb.cp/ovsrch.exp: break inner::foo if (a == 3)
+FAIL: gdb.cp/ovsrch.exp: break A::B::inner::foo if (a == 3)
break A::outer::foo if (a == 3)^M
Note: breakpoints 4, 5, 6, 7, 8 and 9 also set at pc 0xe79e2434.^M
Note: breakpoints 12, 13, 14, 15, 16 and 17 also set at pc 0xe79e23d4.^M
Note: breakpoints 10 and 11 also set at pc 0xe79e2370.^M
No symbol "a" in current context.^M
(gdb) FAIL: gdb.cp/ovsrch.exp: break A::outer::foo if (a == 3)
break A::B::inner::foo if (a == 3)^M
Note: breakpoints 20, 21, 22, 23, 24 and 25 also set at pc 0xe79e245c.^M
Note: breakpoints 28, 29, 30, 31, 32 and 33 also set at pc 0xe79e23fc.^M
Note: breakpoints 26 and 27 also set at pc 0xe79e2394.^M
No symbol "a" in current context.^M
(gdb) FAIL: gdb.cp/ovsrch.exp: break A::B::inner::foo if (a == 3)
I'll debug this problem tomorrow, but if you have any clues, that will
be helpful.
--
Yao (éå)