     (define-key menu [quit] '("Quit"   . rdebug-delete-frame-or-window))
     (define-key menu [goto] '("Goto"   . rdebug-goto-breakpoint))
     (define-key menu [delete] '("Delete" . rdebug-delete-breakpoint))
-    ; (define-key menu [toggle] '("Toggle" . gdb-toggle-breakpoint))
+    (define-key menu [toggle] '("Toggle" . rdebug-toggle-breakpoint))
     (define-key map [mouse-2] 'rdebug-goto-breakpoint-mouse)
-    ; (define-key map [? ] 'rdebug-toggle-breakpoint)
+    (define-key map " " 'rdebug-toggle-breakpoint)
+    (define-key map [? ] 'rdebug-toggle-breakpoint)
     (define-key map [(control m)] 'rdebug-goto-breakpoint)
     (define-key map [?d] 'rdebug-delete-breakpoint)
     map)

	  (gud-call (format "p %s=%s" var value)))
      (message "No variable found"))))

(defadvice gud-reset (before rdebug-reset)
  "rdebug cleanup - remove debugger's internal buffers (frame, breakpoints, 
etc.)."


(defun rdebug-process-sentinel (process event)
  "Restore the original window configuration when the debugger process exits."
  (gud-sentinel process event)
  (rdebug-debug-enter "rdebug-process-sentinel"
    (rdebug-debug-message "status=%S event=%S state=%S\n"
                          (process-status process)
