[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
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273568

            Bug ID: 273568
           Summary: lang/go [Patch] to ease debugging of ports utilizing
                    go
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: go@FreeBSD.org
          Reporter: adam.labuznik@gmail.com
          Assignee: go@FreeBSD.org
             Flags: maintainer-feedback?(go@FreeBSD.org)

Created attachment 244636
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=244636&action=edit
a diff of the changes

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!

-- 
You are receiving this mail because:
You are the assignee for the bug.