[Bug 241773] lldb does not display external variables properly.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Nov 4 06:08:04 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241773

Shane <FreeBSD at ShaneWare.Biz> changed:

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

--- Comment #10 from Shane <FreeBSD at 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 = 'testprog', stop reason = step over failed (Could not
create return address breakpoint. Return address (0x2012db) permissions not
found.)

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

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


More information about the freebsd-toolchain mailing list