Function: gdb-debuginfod-message

gdb-debuginfod-message is a byte-compiled function defined in gdb-mi.el.gz.

Signature

(gdb-debuginfod-message)

Documentation

Show in the echo area GDB error response for a debuginfod command, if any.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/gdb-mi.el.gz
(defun gdb-debuginfod-message ()
  "Show in the echo area GDB error response for a debuginfod command, if any."
  (goto-char (point-min))
  (cond
   ((re-search-forward  "msg=\\(\".+\"\\)$" nil t)
    ;; Supports debuginfod, but cannot perform command.
    (message "%s" (buffer-substring (1+ (match-beginning 1))
                                    (1- (line-end-position)))))
   ((re-search-forward "No symbol" nil t)
    (message "This version of GDB doesn't support debuginfod commands."))
   (t (message nil))))