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: [PATCH] fix PR c++/16117


> From: Tom Tromey <tromey@redhat.com>
> Cc: Tom Tromey <tromey@redhat.com>
> Date: Mon,  4 Nov 2013 14:16:46 -0700
> 
> +For example, suppose the program is stopped in a method of a class
> +that has a field named ``includefile'', and there is also an include
> +file named ``includefile'' that defines a variable, ``some_global''.

All these symbols in quotes should actually use the appropriate markup
instead: @code for C++ symbols, @file for file names.

The documentation part is OK with this fixed.

> +(@value{GDBP}) p includefile::some_global
> +A syntax error in expression, near `'.

I wonder if we can do better with the pointer to the place of the
syntax error: `' is not very specific ;-)

Thanks.


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