Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] debugger question

On Thursday 14 August 2008 17:35:40 Elena Laskavaia wrote:
> OK I guess we have to figure out how to re-create expression from 
> "children" that gdb sends in particular "base class" child.
> see pr https://bugs.eclipse.org/bugs/show_bug.cgi?id=244025
> 
> Any ideas how to distinguish it from real fields?

To recreate expression, you need to use the -var-info-path-expression
MI command. Any other approach is not going to be reliable. Please see:

	http://sourceware.org/gdb/current/onlinedocs/gdb_25.html#SEC421

for documentation. The command was added to gdb tree on 2007-08-31, and
should be included in both gdb 6.7 and 6.8 releases.

- Volodya


Back to the top