Re: [lldb-dev] New target; where to start with thread plans

2018-11-28 Thread Jim Ingham via lldb-dev
You will need to add ABI support. You'll also need to make an Unwinder that works for your platform. But the thread plan code is pretty generic and relies on the Unwinder and generic features of the Disassembler (mostly "IsBranch") to do its job. For instance, thread step-out just asks the Un

Re: [lldb-dev] Accessing physical memory while remote debugging

2018-11-28 Thread Sanimir Agovic via lldb-dev
Hi Daniel, On Sat, Nov 24, 2018 at 9:34 PM Daniel Shaulov via lldb-dev < lldb-dev@lists.llvm.org> wrote: > The one thing that is really missing is the ability to read/write to physical memory addresses. This would indeed be a neat addition to improve debugging bare-metal targets, be it simulator

[lldb-dev] New target; where to start with thread plans

2018-11-28 Thread Adrian Harris via lldb-dev
Hi Everyone, I’ve added basic support for a new target (via gdb-remote) and now it is time to add ABI support to lldb to improve the debug experience. My understanding is that I need to add an ABI plugin (we have a very basic stub now) and thread-plan support. As a first step I’d like to be abl