Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Sep 2023 06:42:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 273688] sysutils/pstack: does not work with Valgrind
Message-ID:  <bug-273688-7788-TCJEWMyo33@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-273688-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-273688-7788@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #5 from Paul Floyd <pjfloyd@wanadoo.fr> ---
In the end two changes are required. There's the patch that I just uploaded
that fixes the problem with notype functions.

The other thing is that I needed to build Valgrind with
-fno-omit-frame-pointer. From what I've seen most functions _are_ using the
frame pointer. I need to do a bit more work to see if I can just tweak a few
things to get the base pointer used everywhere.

Yesterday I stumbled across the bstack package when looking to see if there=
 is
a FreeBSD version of gstack. Using that is probably the best solution. psta=
ck
is not doing a great job of reinventing the wheel, plus upstream pstack see=
ms
unmaintained (no changes in 11 years).

--=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-273688-7788-TCJEWMyo33>