Function: gdb-current-context-buffer-name

gdb-current-context-buffer-name is a byte-compiled function defined in gdb-mi.el.gz.

Signature

(gdb-current-context-buffer-name NAME)

Documentation

Add thread information and asterisks to string NAME.

If gdb-thread-number is nil, just wrap NAME in asterisks.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/gdb-mi.el.gz
(defun gdb-current-context-buffer-name (name)
  "Add thread information and asterisks to string NAME.

If `gdb-thread-number' is nil, just wrap NAME in asterisks."
  (concat "*" name
          (if (local-variable-p 'gdb-thread-number)
              (format " (bound to thread %s)" gdb-thread-number)
            "")
          "*"))