Mercurial > emacs
changeset 64998:b2d245bb54da
(gud-jump): Rework for gdb-ui.
author | Nick Roberts <nickrob@snap.net.nz> |
---|---|
date | Tue, 16 Aug 2005 09:31:31 +0000 |
parents | cd88ad84f595 |
children | e1cdc6178b3e |
files | lisp/progmodes/gud.el |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/gud.el Tue Aug 16 09:30:35 2005 +0000 +++ b/lisp/progmodes/gud.el Tue Aug 16 09:31:31 2005 +0000 @@ -586,7 +586,9 @@ (gud-def gud-nexti "nexti %p" nil "Step one instruction (skip functions).") (gud-def gud-cont "cont" "\C-r" "Continue with display.") (gud-def gud-finish "finish" "\C-f" "Finish executing current function.") - (gud-def gud-jump "tbreak %f:%l\njump %f:%l" "\C-j" "Relocate execution address to line at point in source buffer.") + (gud-def gud-jump + (progn (gud-call "tbreak %f:%l") (gud-call "jump %f:%l")) + "\C-j" "Set execution address to current line.") (gud-def gud-up "up %p" "<" "Up N stack frames (numeric arg).") (gud-def gud-down "down %p" ">" "Down N stack frames (numeric arg).")