x/debug: change source file disambiguation heuristic.
x/debug: change source file disambiguation heuristic.

First prefer files that match a longer suffix of the requested file.

Then break ties by choosing files that are under the directory from
which the program was compiled.

Then break ties by choosing a file with the shortest name.

Change-Id: I50b87fe4bf1fa70075e6d48032c6633c5c71f8da
Reviewed-on: https://go-review.googlesource.com/16260
Reviewed-by: Dave Day <4cba7a21e1f1fc896442779dcb55aeda6df97dfe@golang.org>

golang/debug