Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] environment-directory passed to gdb

The environment-directory parameter passed to gdb by DSF-GDB seem to include every directory under the project with all its subdirectories, grand subdirectories and so on. Total number of directories in my case exceeds 1000 causing gdb to become slow as molasses. Is it really necessary to explicitly pass all these directories to gdb? Why can't we pass just the top-level ones?

I hacked MIEnvironmentDirectory to pass only the the top-level directory to the superclass ctor. Source lookup continued to work just fine, but debugging became much much faster. Feedback by debugging experts will be appreciated.

-sergey

Back to the top