maintainer-feedback requested: [Bug 273568] lang/go [Patch] to ease debugging of ports utilizing go

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 04 Sep 2023 18:50:45 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked Golang Team (Nobody)
<go@FreeBSD.org> for maintainer-feedback:
Bug 273568: lang/go [Patch] to ease debugging of ports utilizing go
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273568



--- Description ---
Hi,
I recently needed to debug sysutils/docker (with gdb) utilizing the
WITH_DEBUG_PORTS variable and I noticed some variables got "optimized out". In
the attachment is a patch (diff for Mk/Uses/go.mk) that fixes just that.
The solution is based on the "Introduction" section here:
https://go.dev/doc/gdb

Thanks!