[nemiver/varobjs-support] Variables should have their values upon unfolding



commit e4e8e7930050d7baa0291e6adad46d1520eabea3
Author: Dodji Seketeli <dodji redhat com>
Date:   Sun Apr 5 15:55:24 2009 +0200

    Variables should have their values upon unfolding
    
    	* src/dbgengine/nmv-gdb-engine.cc (GDBEngine::unfold_variable):
    	  Tell GDB to give us the value of the variable it unfolds.
---
 src/dbgengine/nmv-gdb-engine.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/dbgengine/nmv-gdb-engine.cc b/src/dbgengine/nmv-gdb-engine.cc
index 837ae1c..4f9bfb5 100644
--- a/src/dbgengine/nmv-gdb-engine.cc
+++ b/src/dbgengine/nmv-gdb-engine.cc
@@ -4045,7 +4045,7 @@ GDBEngine::unfold_variable (const VariableSafePtr a_var,
     THROW_IF_FAIL (!a_var->internal_name ().empty ());
 
     Command command ("unfold-variable",
-                     "-var-list-children " + a_var->internal_name ());
+                     "-var-list-children --all-values " + a_var->internal_name ());
     command.variable (a_var);
     command.set_slot (a_slot);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]