emacs-devel
[Top][All Lists]
Advanced

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

Re: gdb-create-source-file-list and gdb-mi.el


From: Ken Brown
Subject: Re: gdb-create-source-file-list and gdb-mi.el
Date: Fri, 25 Nov 2011 17:28:25 -0500
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0

On 11/23/2011 2:05 AM, Nick Roberts wrote:
gdb-mi.el does the below

   ;; find source file and compilation directory here
   (gdb-input
                                         ; Needs GDB 6.2 onwards.
    (list "-file-list-exec-source-files" 'gdb-get-source-file-list))
   (if gdb-create-source-file-list
       (gdb-input
                                         ; Needs GDB 6.0 onwards.
        (list "-file-list-exec-source-file" 'gdb-get-source-file)))

Don't we need to make sure the the "-file-list-exec-source-files"  also
come withing the gdb-crate-source-file-list check ?. Current gdb with
linux kernel vmlinux takes so much time to give me the prompt.

Yes it looks like I made a mistake.  The if clause should be around the first 
gdb-input.

I don't know the status of the freeze so I've not committed this change.

As long as you're looking at gdb-mi.el problems, there have been several other bugs reported:

  http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9853
  http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9858
  http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9878
  http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9944

Could you take a look at those also?

Ken




reply via email to

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