[nemiver/varobjs-support: 9/10] Don't list all frame arguments from LocalVarsInspector2



commit b8977c9d8a292dfaa9a695f791e4ad9ee0d72837
Author: Dodji Seketeli <dodji redhat com>
Date:   Wed Apr 22 08:16:30 2009 +0200

    Don't list all frame arguments from LocalVarsInspector2
    
    	* src/persp/dbgperspective/nmv-local-vars-inspector2.cc:
    	(LocalVarsInspector2::Priv::finish_handling_debugger_stopped_event):
    	Don't list all the frame arguments when we just want the arguments
    	of the last one.
    	(LocalVarsInspector2::show_local_variables_of_current_function):
    	Likewise.
---
 .../dbgperspective/nmv-local-vars-inspector2.cc    |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/persp/dbgperspective/nmv-local-vars-inspector2.cc b/src/persp/dbgperspective/nmv-local-vars-inspector2.cc
index 22e5809..513ac22 100644
--- a/src/persp/dbgperspective/nmv-local-vars-inspector2.cc
+++ b/src/persp/dbgperspective/nmv-local-vars-inspector2.cc
@@ -354,7 +354,7 @@ public:
                 LOG_DD ("list local variables");
                 debugger->list_local_variables ();
                 LOG_DD ("list frames arguments");
-                debugger->list_frames_arguments ();
+                debugger->list_frames_arguments (0, 0);
             } else {
                 LOG_DD ("update local variables and function arguments");
                 update_local_variables ();
@@ -743,7 +743,7 @@ LocalVarsInspector2::show_local_variables_of_current_function ()
 
     re_init_widget ();
     m_priv->debugger->list_local_variables ();
-    m_priv->debugger->list_frames_arguments ();
+    m_priv->debugger->list_frames_arguments (0, 0);
 }
 
 void



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