Details
-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
Qt Creator 8.0.1
-
None
Description
Regression from QtC7, the host environment variable are not available for gdb when running remote debugging session. This causes repeated warning from gdb:
The index cache directory name is empty, skipping store. The index cache directory name is empty, skipping cache lookup.
This happens since HOME is not set for the gdb process, so the index-cache directory is invalid
>&"show index-cache\n" >~"index-cache directory: The directory of the index cache is \"\".\n" >~"index-cache stats: \n" >~" Cache hits (this session): 0\n" >~" Cache misses (this session): 37\n" >~"\n" >~"The index cache is currently enabled.\n" >1002^done
Reproducible with Generic Linux and Boot2Qt Kits