Re: [EXT] Re: Slow "symbol-file" when using GDB 12.1 on Windows hosts

Eli Zaretskii via Gdb <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
> From: Adrian Oltean <[email protected]>
> CC: "[email protected]" <[email protected]>, "[email protected]"
> 	<[email protected]>
> Date: Mon, 20 Mar 2023 13:33:49 +0000
> 
> These were the questions:
> 1.	Is GDB trying to find debug symbols in all those folders? Or what's with them?
> 2.	What is the code from GDB that artificially builds all those paths?
> 3.	GDB 10.2 does not seem to access "C:\Windows\CSC\v2.0.6\namespace\lib", nor
> "\\lib\debug\Users\MyUsername\...". Is this related to a recent change? Can someone
> point to the relevant change in this case?
> 4.	Is there a command to stop GDB from attempting to access those files/folders?

Sorry, I don't know the answers.  Maybe Luis or someone else does.

In general, AFAIK GDB searches directories recorded in the program's
debug info, and also some source directories.  See the node "Source
Path" in the GDB manual.  Also try "show solib-search-path".  The
"show libthread-db-search-path" command could also be relevant; see
"Threads" in the manual.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.