gdbsupport: Use LOCALAPPDATA to determine cache dir
authorAlexander Fedotov <alfedotov@gmail.com>
Tue, 8 Dec 2020 10:07:23 +0000 (13:07 +0300)
committerSimon Marchi <simon.marchi@polymtl.ca>
Tue, 8 Dec 2020 14:50:12 +0000 (09:50 -0500)
commit60a7223fdd196d540f87504833166f558c95c035
tree7effd01923f0d141b2a9db352c03577e4eba1580
parentb46551b20c9617e0cf2fda9a32b2132f3a7fd35c
gdbsupport: Use LOCALAPPDATA to determine cache dir

Use the LOCALAPPDATA environment variable to determine the cache dir
when running on Windows with native command line, otherwise nasty
warning "Couldn't determine a path for index cached directory" appears.

Change-Id: I77903f9f0cb4743555866b8aea892cef55132589
gdbsupport/ChangeLog
gdbsupport/pathstuff.cc