Update get_standard_cache_dir for macOS
authorTom Tromey <tom@tromey.com>
Fri, 14 Sep 2018 14:48:22 +0000 (08:48 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 17 Sep 2018 14:43:12 +0000 (08:43 -0600)
On macOS the usual cache directory is ~/Library/Caches.  This patch
changes get_standard_cache_dir to use that instead of XDG.

gdb/ChangeLog
2018-09-17  Tom Tromey  <tom@tromey.com>

* common/pathstuff.c (get_standard_cache_dir): Use
~/Library/Caches on macOS.
* common/pathstuff.h (get_standard_cache_dir): Update comment.

gdb/doc/ChangeLog
2018-09-17  Tom Tromey  <tom@tromey.com>

* gdb.texinfo (Index Files): Update for cache directory change on
macOS.


No differences found