Function: gdb-locals-values-handler-custom

gdb-locals-values-handler-custom is a byte-compiled function defined in gdb-mi.el.gz.

Signature

(gdb-locals-values-handler-custom)

Documentation

Store the values of local variables in gdb-locals-values-table.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/gdb-mi.el.gz
(defun gdb-locals-values-handler-custom ()
  "Store the values of local variables in `gdb-locals-values-table'."
  (let ((locals-list (bindat-get-field (gdb-mi--partial-output) 'variables)))
    (dolist (local locals-list)
      (let ((name (bindat-get-field local 'name))
            (value (bindat-get-field local 'value)))
        (puthash name value gdb-locals-values-table)))))