Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Sep 2023 18:50:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        go@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 273568] lang/go [Patch] to ease debugging of ports utilizing go
Message-ID:  <bug-273568-42334-6m1RUs7zC4@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-273568-42334@https.bugs.freebsd.org/bugzilla/>
References:  <bug-273568-42334@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
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=3D273568



--- 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!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273568-42334-6m1RUs7zC4>