[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
New function for gdb-ui.el?
From: |
Nick Roberts |
Subject: |
New function for gdb-ui.el? |
Date: |
Sun, 23 Oct 2005 22:14:46 +1300 |
Is it a good idea to add the function below to gdb-ui.el now/ever?
Nick
(defun gdb-mouse-until (event)
"Execute source lines by dragging the overlay arrow (fringe) with the mouse."
(interactive "e")
(let ((startpos (posn-point (event-start event)))
(endline (line-number-at-pos (posn-point (event-end event)))))
(if (equal startpos (marker-position gud-overlay-arrow-position))
(gud-call
(concat "until " buffer-file-name ":" (number-to-string endline))))))
(define-key gud-minor-mode-map [left-fringe drag-mouse-1]
'gdb-mouse-until)
- New function for gdb-ui.el?,
Nick Roberts <=
- Re: New function for gdb-ui.el?, Eli Zaretskii, 2005/10/23
- Re: New function for gdb-ui.el?, Nick Roberts, 2005/10/23
- Re: New function for gdb-ui.el?, Kim F. Storm, 2005/10/23
- Re: New function for gdb-ui.el?, Nick Roberts, 2005/10/24
- Re: New function for gdb-ui.el?, Kim F. Storm, 2005/10/24
- Re: New function for gdb-ui.el?, Kim F. Storm, 2005/10/24
- Re: New function for gdb-ui.el?, Nick Roberts, 2005/10/24
- Re: New function for gdb-ui.el?, Nick Roberts, 2005/10/24
- Re: New function for gdb-ui.el?, Kim F. Storm, 2005/10/25
Re: New function for gdb-ui.el?, Frank Schmitt, 2005/10/24