Function: gdb-mi--extend-fullname
gdb-mi--extend-fullname is a byte-compiled function defined in
gdb-mi.el.gz.
Signature
(gdb-mi--extend-fullname REMOTE VALUE)
Documentation
Prepend REMOTE to any result string with fullname as the key in VALUE.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/gdb-mi.el.gz
(defun gdb-mi--extend-fullname (remote value)
"Prepend REMOTE to any result string with `fullname' as the key in VALUE."
(cond
((atom value) value)
((symbolp (car value))
(if (and (eq (car value) 'fullname)
(stringp (cdr value)))
(cons 'fullname (concat remote (cdr value)))
(cons (car value) (gdb-mi--extend-fullname remote (cdr value)))))
(t (mapcar (lambda (x) (gdb-mi--extend-fullname remote x)) value))))