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

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

bug#10580: 24.0.92; gdb initialization takes more than one minute at 100


From: Dov Grobgeld
Subject: bug#10580: 24.0.92; gdb initialization takes more than one minute at 100% CPU
Date: Wed, 9 May 2012 00:30:08 +0300

I first that at first too, but then I realized that it doesn't do it. The gdb-mi.el source has the following logic.

  (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)))

i.e. the gdb command "-file-list-exec-source-files" (note the s in files) is called independantly from gdb-create-source-file-list which only influences the
execution of "-file-list-exec-source-file".

On Wed, May 9, 2012 at 12:24 AM, Andreas Schwab <address@hidden> wrote:
Dov Grobgeld <address@hidden> writes:

> * Why does gdb-mi.el do -file-list-exec-source-files at all? Can't it
> search for source files on demand?

Customize gdb-create-source-file-list to nil.

Andreas.

--
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


reply via email to

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