1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 06:02:11 +02:00
cdt/dsf-gdb
Simon Marchi cb16665cc7 Bug 293832 - [dsf-gdb] Ask gdb for variable value, even if it is a complex type
Currently, CDT does not ask GDB for the value of the variables it
believes to be of complex types, such as structures. However, as
described in the bug, it assumes that a typedefed pointer is a complex
structure. Because of that, it displays a value of "{...}" for it
instead of the pointer value.

By asking GDB for the value of the variable even if it's of a complex
type, CDT will always display the right thing for the value. This will
cause a few more -var-evaluate-expression calls, but their number is
still limited to what is visible in the variables view. So the impact
should be negligible.

Screenshot of before/after:
	http://i.imgur.com/Sx5ZPfO.png

It is still impossible to edit the value, but this would be addressed in
another patch.

Change-Id: I92e6ead6351677e098a56d4af5bdb85fc61df080
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-05-04 16:03:18 -04:00
..
org.eclipse.cdt.dsf.gdb Bug 293832 - [dsf-gdb] Ask gdb for variable value, even if it is a complex type 2015-05-04 16:03:18 -04:00
org.eclipse.cdt.dsf.gdb.multicorevisualizer.ui Bug 462353 - [visualizer] Add support for persistent List<T> and 2015-04-17 14:59:36 -04:00
org.eclipse.cdt.dsf.gdb.multicorevisualizer.ui.tests Bug 462353 - [visualizer] Add support for persistent List<T> and 2015-04-17 14:59:36 -04:00
org.eclipse.cdt.dsf.gdb.tests Move to new getAdapter() signature using generics 2015-04-15 13:36:20 -04:00
org.eclipse.cdt.dsf.gdb.ui Bug 407340 - Keep showing in the Debug view a process that has exited 2015-05-01 15:41:58 -04:00
org.eclipse.cdt.examples.dsf.gdb Cosmetics 2015-04-22 13:09:34 -04:00
org.eclipse.cdt.gnu.dsf-feature Incremented CDT feature version to 8.6.0. 2015-01-06 19:40:38 -05:00
org.eclipse.cdt.gnu.dsf.source-feature Incremented CDT feature version to 8.6.0. 2015-01-06 19:40:38 -05:00
org.eclipse.cdt.gnu.multicorevisualizer-feature Incremented CDT feature version to 8.6.0. 2015-01-06 19:40:38 -05:00
org.eclipse.cdt.tests.dsf.gdb [dsf-gdb] debug tests: Remove useless try/catch 2015-05-01 10:10:58 -04:00