Function: gdb-mouse-until
gdb-mouse-until is an interactive and byte-compiled function defined
in gdb-mi.el.gz.
Signature
(gdb-mouse-until EVENT)
Documentation
Continue running until a source line past the current line.
The destination source line can be selected either by clicking
with \mouse-3 on the fringe/margin or dragging the arrow
with \mouse-1 (default bindings).
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/gdb-mi.el.gz
(defun gdb-mouse-until (event)
"Continue running until a source line past the current line.
The destination source line can be selected either by clicking
with \\`mouse-3' on the fringe/margin or dragging the arrow
with \\`mouse-1' (default bindings)."
(interactive "e")
(let ((start (event-start event))
(end (event-end event)))
(gdb--if-arrow gud-overlay-arrow-position start end
(let ((line (line-number-at-pos (posn-point end))))
(gud-call (concat "until " (number-to-string line)))))
(gdb--if-arrow gdb-disassembly-position start end
(save-excursion
(goto-char (point-min))
(forward-line (1- (line-number-at-pos (posn-point end))))
(forward-char 2)
(gud-call (concat "until *%a"))))))