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: Aneesh Kumar K.V
Subject: Re:gdb-create-source-file-list and gdb-mi.el
Date: Tue, 29 Nov 2011 13:22:52 +0530
User-agent: Notmuch/0.10+49~g9d33497 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu)

On Wed, 23 Nov 2011 20:05:13 +1300, Nick Roberts <address@hidden> 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. 
> 

The change committed also require to move the mode line update out of
gdb-get-source-file-list to gdb-init-1. Otherwise mode line will say
"Intializing.." even after giving (gdb) prompt.

-aneesh




reply via email to

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