Function: gdb-delete-breakpoint

gdb-delete-breakpoint is an interactive and byte-compiled function defined in gdb-mi.el.gz.

Signature

(gdb-delete-breakpoint)

Documentation

Delete the breakpoint at current line of breakpoints buffer.

View in manual

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/gdb-mi.el.gz
(defun gdb-delete-breakpoint ()
  "Delete the breakpoint at current line of breakpoints buffer."
  (interactive)
  (save-excursion
    (beginning-of-line)
    (let ((breakpoint (get-text-property (point) 'gdb-breakpoint)))
      (if breakpoint
          (gud-basic-call (concat "-break-delete "
                                  (gdb-mi--field breakpoint 'number)))
        (error "Not recognized as break/watchpoint line")))))