     (define-key map "9" 'rdebug-goto-entry-10)
 
     (rdebug-populate-secondary-buffer-map map)
-
-    (define-key map "\C-x\C-a" rdebug-common-map)
-    (rdebug-populate-secondary-buffer-map rdebug-common-map t)
 
     ;; --------------------
     ;; The "Stack window" submeny.


(defvar rdebug-debugger-support-minor-mode-map-when-deactive
  (let ((map (make-sparse-keymap))
        (secondary-map (make-sparse-keymap)))
    (rdebug-populate-debugger-menu map)
    (rdebug-populate-secondary-buffer-map secondary-map t)
    (define-key map "\C-x\C-a" secondary-map)
    map)
  "Keymap used by rdebugs support minor mode when the debugger is active.")

(defvar rdebug-debugger-support-minor-mode-map-when-active
  (let ((map (make-sparse-keymap))
        (secondary-map (make-sparse-keymap)))
    (rdebug-populate-common-keys map)
    (rdebug-populate-secondary-buffer-map secondary-map t)
    (define-key map "\C-x\C-a" secondary-map)
    (rdebug-populate-debugger-menu map)
    map)
  "Keymap used by rdebugs support minor mode when the debugger not active.")



;; -- Secondary buffer support.

(defun rdebug-populate-secondary-buffer-map-plain (map)
  "Bind the plain keys used in rdebug secondary buffers.

This does not menus or prefix keys."
  ;; Keys to view other buffers.
  (define-key map "?" 'rdebug-display-secondary-window-help-buffer)
  (define-key map "B" 'rdebug-display-breakpoints-buffer)
