> BTW there must be a new problem with the newest CVS version. A call like:
 > M-x gdb -> gdb --annotate=3 umc.vx
 > gives me the following error (taken from *Messages*):

Is it a new problem? i.e. did it work previously?

 > --- snip ---
 > Configuring gdb-ui
 > error in process filter: apply: Args out of range: "(gdb) 
 > prompt
 > ", 0, 68
 > error in process filter: Args out of range: "(gdb) 
 > prompt
 > ", 0, 68
 > error in process filter: gdb-prompt: Phase error in gdb-prompt (got 
 > pre-emacs)
 > error in process filter: Phase error in gdb-prompt (got pre-emacs)
 > --- snip ---
 > 
 > I could trace this down to the following lines in my .emacs file:
 > (eval-after-load "gdb-ui"
 >     '(progn
 >        (message "Configuring gdb-ui")
 >        ;(setq gdb-show-main t)
 >        ;(setq gdb-many-windows t)
 >        ;(setq gdb-use-separate-io-buffer t)
 >        ))

I think you should do:

(add-hook 'gdb-mode-hook 
          '(lambda ()
             (message "Configuring gdb-ui")
             (setq gdb-show-main t)
             (setq gdb-many-windows t)
             (setq gdb-use-separate-io-buffer t)))


-- 
Nick                                           http://www.inet.net.nz/~nickrob


_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to