                         :enable '(get-buffer-process gud-comint-buffer)))
 
     (define-key menu [step]
-      (rdebug-menu-item common-map "Step into" 'gud-step
+      (rdebug-menu-item common-map "Step into" 'rdebug-step
                         :enable '(get-buffer-process gud-comint-buffer)))
 
     (define-key menu [next]
-      (rdebug-menu-item common-map "Step over" 'gud-next
+      (rdebug-menu-item common-map "Step over" 'rdebug-next
                         :enable '(get-buffer-process gud-comint-buffer)))
 
     (define-key menu [cont]
-      (rdebug-menu-item common-map "Continue" 'gud-cont
+      (rdebug-menu-item common-map "Continue" 'rdebug-continue
                         :enable '(get-buffer-process gud-comint-buffer)))
 
     (define-key map [menu-bar debugger line1] '(menu-item "--"))

           "Remove breakpoint at current line")
  (gud-def gud-quit    "quit"       "Q"
           "Quit debugger.")
  (gud-def gud-run    "restart"       "R"
           "Restart the Ruby script.")
  (gud-def gud-statement "eval %e" "\C-e"
           "Execute Ruby statement at point.")
  (gud-def gud-step   "step %p"       "\C-s"
           "Step one source line with display.")
  (gud-def gud-step-plus "step+ %p"       "+"
           "Step one source line with display.")
  (gud-def gud-tbreak "tbreak %d%f:%l"  "\C-t"
           "Set temporary breakpoint at current line.")
  (gud-def gud-up     "up %p"

     "This version of rdebug.el needs at least Emacs 22 or greater - you have version %d."
     emacs-major-version))
(require 'gud)
(require 'cl)


