Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Nov 2020 06:08:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 241773] lldb does not display external variables properly.
Message-ID:  <bug-241773-29464-WIFeXoyEVP@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-241773-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-241773-29464@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=3D241773

Shane <FreeBSD@ShaneWare.Biz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |FreeBSD@ShaneWare.Biz

--- Comment #10 from Shane <FreeBSD@ShaneWare.Biz> ---
The failure to step looks to have been fixed in lldb v11.

I see the failure to step, in 12.2 base lldb as well as lldb10 from ports,
using lldb11 from ports steps as expected. (lldb 8/9 also work)


Using 12-stable from Feb and some older ports, I also see another differing
result, compiling with clang 9 and using lldb10 from ports.

Using the first version that prints values only, lldb10 gives a permission
error

* thread #1, name =3D 'testprog', stop reason =3D step over failed (Could n=
ot
create return address breakpoint. Return address (0x2012db) permissions not
found.)

Then using the newer version with printing address as well there is no erro=
r,
lldb10 fails to step and continues to the end. Just changing the printf lin=
es
makes this variation.

--=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-241773-29464-WIFeXoyEVP>