lldb on BeagleBone Black

Dr. Rolf Jansen rj at obsigna.com
Mon Jan 23 18:45:46 UTC 2017


> Am 23.01.2017 um 15:36 schrieb Ed Maste <emaste at freebsd.org>:
> 
> On 16 January 2017 at 09:20, Dr. Rolf Jansen <rj at obsigna.com> wrote:
>> 
>> Building and installation of devel/llvm37 from the ports went well without problems, however, lldb37 is only of minor usefulness since stepping-into/over lines of code does not work. I can set breakpoint, and execution stops fine on breakpoints, however, when I hit 'n' or 's', the program simply continues execution in a normal fashion until end.
> 
> Yes. Single-stepping on ARM requires special support in the debugger,
> which does not yet exist in LLDB for FreeBSD. The good news is that
> there is a patch in review to add this support. I'm hoping to review,
> test and commit it this week to the upstream LLDB repository, and I'll
> see about merging it into the LLDB in the FreeBSD base system from
> there.
> 
> -Ed

In the moment, I am building/installing LLDB from the SVN-trunk (r292723 -- 5.0.0 branch) on my BeagleBone Black. Installation is in progress now, and I guess in a 2 or 3 hours this will be finished.

Please let me know, once the patch made it into the SVN repository. Then I will run 'svn update' and 'ninja lldb install' once again, and I hope that ninja is smart enough to compile only the changes.

Thank you very much for looking into it.

Best regards

Rolf


More information about the freebsd-arm mailing list