Function: gdb-mi--c-string-from-string

gdb-mi--c-string-from-string is a byte-compiled function defined in gdb-mi.el.gz.

Signature

(gdb-mi--c-string-from-string STRING)

Documentation

Parse a c-string from (the beginning of) STRING.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/gdb-mi.el.gz
;; FIXME: Ideally this function should not be needed.
(defun gdb-mi--c-string-from-string (string)
  "Parse a c-string from (the beginning of) STRING."
  (with-temp-buffer
    (insert string)
    (goto-char (1+ (point-min)))        ; Skip leading double quote.
    (gdb-mi--parse-c-string)))