[nemiver: 1/2] Don't quote args of -data-evaluate-expression in a



commit 8836bf7132908b815e6c31e7a2e788f3fcd3afc1
Author: Dodji Seketeli <dodji redhat com>
Date:   Wed Mar 11 11:11:08 2009 +0100

    Don't quote args of -data-evaluate-expression in a call (Closes: #574913)
    
    	* src/dbgengine/nmv-gdb-engine.cc (GDBEngine::call_function):
    	Don't quote the arguments of -data-evaluate-expression in the
    	context of a function call, otherwise, GDB won't call the function.
---
 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 cce7371..c5fd75b 100644
--- a/src/dbgengine/nmv-gdb-engine.cc
+++ b/src/dbgengine/nmv-gdb-engine.cc
@@ -3139,7 +3139,7 @@ GDBEngine::call_function (const UString &a_expr,
     if (a_expr.empty ()) {return;}
 
     Command command ("call-function",
-                     "-data-evaluate-expression '" + a_expr + "'",
+                     "-data-evaluate-expression " + a_expr,
                      a_cookie);
     queue_command (command);
 }



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