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: [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


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