Addresses #7770, though only Linux and Windows for now. OSX will need a little more attention, since dsymutil isn’t yet built as part of our toolchain.
To test, simply untar/unzip the new -debug files in the same path as the binaries, and gdb should find them automatically.
To make my life easier while I was in there, I fixed up depends to play nice with CONFIG_SITE, which can be used now instead of abusing –prefix, though the –prefix hack still works fine.
Now, configure can also be run like:
0CONFIG_SITE=$PWD/depends/x86_64-pc-linux-gnu/share/config.site --prefix=/whatever/you/want