Dov Grobgeld <dov.grobgeld@gmail.com> writes:I would also like to learn more about where the bottleneck is.
> Still, it bothering me the fact that the above perl expression parses
> the gdb output in a fraction of a second, (0.01s user time) whereas
> gdb-mi.el takes more than 40s.
Could you do the following:
M-: (require 'gdb-mi) RET
M-: (defun gdb-get-source-file-list () nil) RET
then run M-x gdb as usual, and see if that makes any difference in
performance? Leave gdb-create-source-file-list set at t.
(The above steps cause gdb-mi to issue the -file-list-exec-source-files
command and read the output, as usual, but skip parsing the output into
the source file list.)