emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: M-x gdb with large files


From: Nick Roberts
Subject: Re: M-x gdb with large files
Date: Tue, 30 May 2006 11:51:30 +1200

 > 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]