From bc676c584011cdadedab6bf469bfc072385f2b68 Mon Sep 17 00:00:00 2001 From: Nick Roberts Date: Tue, 8 Jan 2008 01:59:29 +0000 Subject: [PATCH] (gdb-var-list-children-1): Put varnum in quotes in case of spaces, e.g. STL containers (not pretty). --- lisp/progmodes/gdb-ui.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/progmodes/gdb-ui.el b/lisp/progmodes/gdb-ui.el index 657e8531278..ef11668f022 100644 --- a/lisp/progmodes/gdb-ui.el +++ b/lisp/progmodes/gdb-ui.el @@ -3484,9 +3484,9 @@ is set in them." (gdb-enqueue-input (list (if (eq (buffer-local-value 'gud-minor-mode gud-comint-buffer) 'gdba) - (concat "server interpreter mi \"-var-list-children --all-values " - varnum "\"\n") - (concat "-var-list-children --all-values " varnum "\n")) + (concat "server interpreter mi \"-var-list-children --all-values \\\"" + varnum "\\\"\"\n") + (concat "-var-list-children --all-values \"" varnum "\"\n")) `(lambda () (gdb-var-list-children-handler-1 ,varnum))))) (defconst gdb-var-list-children-regexp-1 -- 2.39.2