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

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273568

            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=3D244636&action=
=3Dedit
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!

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



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