Function: gdb-internals

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

Signature

(gdb-internals OUTPUT-FIELD)

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/gdb-mi.el.gz
;; Remove the trimmings from log stream containing debugging messages
;; being produced by GDB's internals, use warning face and send to GUD
;; buffer.
(defun gdb-internals (output-field)
  (setq gdb-filter-output
	(gdb-concat-output
	 gdb-filter-output
	 (if (string= output-field "\"\\n\"")
	     ""
	   (let ((error-message
		  (gdb-mi--c-string-from-string output-field)))
	     (put-text-property
	      0 (length error-message)
              'face 'font-lock-warning-face
	      error-message)
	     error-message)))))