This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Patch to limit field name completion candidates
On Tue, May 13, 2008 at 09:31:20AM -0600, Tom Tromey wrote:
> Nope, it won't.
>
> I didn't realize this syntax was permissible. And I can't seem to get
> it to work on a simple test case:
>
> Breakpoint 1, main () at s.c:8
> 8 return values[57].free2;
> (gdb) p s.c:values[0]
> No symbol "s" in current context.
>
> How can I see this in action?
The only way I know of is 'filename.c'::bar, including the quotes
(see scope.exp).
--
Daniel Jacobowitz
CodeSourcery