[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Toggle view in gdba
From: |
Masatake YAMATO |
Subject: |
Toggle view in gdba |
Date: |
Mon, 18 Oct 2004 00:24:15 +0900 (JST) |
Is there any strong reason that gdba doesn't provides keyboard
interface for the its great functions?
2004-10-18 Masatake YAMATO <address@hidden>
* progmodes/gdb-ui.el (gdb-ann3): Define a key which toggles
source view and assembler view.
Index: lisp/progmodes/gdb-ui.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/progmodes/gdb-ui.el,v
retrieving revision 1.24
diff -u -r1.24 gdb-ui.el
--- lisp/progmodes/gdb-ui.el 6 Oct 2004 07:20:53 -0000 1.24
+++ lisp/progmodes/gdb-ui.el 17 Oct 2004 15:23:05 -0000
@@ -169,6 +169,14 @@
(forward-char 2)
(gud-call "until *%a" arg)))
"\C-u" "Continue to current line or address.")
+ ;;
+ (gud-def gud-toggle-view (cond
+ ((eq gdb-selected-view 'assembler)
+ (gdb-view-source-function))
+ ((eq gdb-selected-view 'source)
+ (gdb-view-assembler)))
+ "t" "Toggle source and assembler view.")
+
(define-key gud-minor-mode-map [left-margin mouse-1]
'gdb-mouse-toggle-breakpoint)
- Toggle view in gdba,
Masatake YAMATO <=
- Toggle view in gdba, Nick Roberts, 2004/10/17
- Re: Toggle view in gdba, Masatake YAMATO, 2004/10/18
- Re: Toggle view in gdba, Nick Roberts, 2004/10/19
- Re: Toggle view in gdba, Masatake YAMATO, 2004/10/19
- Re: Toggle view in gdba, Masatake YAMATO, 2004/10/23
- Re: Toggle view in gdba, Stefan, 2004/10/23
- Re: Toggle view in gdba, Nick Roberts, 2004/10/23
- Re: Toggle view in gdba, Nick Roberts, 2004/10/24