aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorJuanma Barranquero <[email protected]>2005-08-30 10:54:08 +0000
committerJuanma Barranquero <[email protected]>2005-08-30 10:54:08 +0000
commitbf1d7e442939018b40bb8343b6fce8e85126f1fd (patch)
treec04ca372130b5ed2a78bc71e78f163e4b26f6be9 /lisp
parent1769936dd0434f817a28e1cba684f31b17e09a4e (diff)
(tool-bar-map): Add defvar.
(gdb-frame-parameters): Declare before use.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/progmodes/gdb-ui.el16
1 files changed, 9 insertions, 7 deletions
diff --git a/lisp/progmodes/gdb-ui.el b/lisp/progmodes/gdb-ui.el
index a1c6f0a80b..6c960c4c5d 100644
--- a/lisp/progmodes/gdb-ui.el
+++ b/lisp/progmodes/gdb-ui.el
@@ -79,6 +79,8 @@
(require 'gud)
+(defvar tool-bar-map)
+
(defvar gdb-frame-address "main" "Initialization for Assembler buffer.")
(defvar gdb-previous-frame-address nil)
(defvar gdb-memory-address "main")
@@ -704,6 +706,13 @@ The key should be one of the cars in `gdb-buffer-rules-assoc'."
(gdb-display-buffer
(gdb-get-create-buffer 'gdb-inferior-io))))
+(defconst gdb-frame-parameters
+ '((height . 14) (width . 80)
+ (unsplittable . t)
+ (tool-bar-lines . nil)
+ (menu-bar-lines . nil)
+ (minibuffer . nil)))
+
(defun gdb-frame-inferior-io-buffer ()
"Display IO of inferior in a new frame."
(interactive)
@@ -1410,13 +1419,6 @@ static char *magick[] = {
(gdb-display-buffer
(gdb-get-create-buffer 'gdb-breakpoints-buffer)))
-(defconst gdb-frame-parameters
- '((height . 14) (width . 80)
- (unsplittable . t)
- (tool-bar-lines . nil)
- (menu-bar-lines . nil)
- (minibuffer . nil)))
-
(defun gdb-frame-breakpoints-buffer ()
"Display status of user-settable breakpoints in a new frame."
(interactive)