Skip to main content

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

CDT supports many versions of gdb including older ones. I don't think people will be happy if we suddenly drop this support, but thanks for info, I did not know this command exist, maybe we can dynamically figure out gdb version.

Vladimir Prus wrote:
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
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top