Commit bc676c58 authored by Nick Roberts's avatar Nick Roberts
Browse files

(gdb-var-list-children-1): Put varnum in

quotes in case of spaces, e.g. STL containers (not pretty).
parent af5aa38e
......@@ -3484,9 +3484,9 @@ is set in them."
(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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment