[lldb-dev] Port LLDB to ppc64le (ABIv2) on linux
Pavel Labath via lldb-dev
lldb-dev at lists.llvm.org
Thu Jul 6 03:13:26 PDT 2017
I don't see anything which should prevent you from doing that.
Probably the first place you should look at is
"source/Plugins/Process/Linux/NativeRegisterContext_***". This is the
thing which defines what a "register" is and how to read/write it, and
it's the main thing you will need to implement.
On 5 July 2017 at 20:13, Gustavo Serra Scalet via lldb-dev
<lldb-dev at lists.llvm.org> wrote:
> I'm interested in porting LLDB to PowerPC 64 little endian (e.g: POWER8 machines) on Linux platform but before starting such work, I wanted to know if somebody is already doing it or also if there is anything prohibitive in doing so (Probably relevant to this question: clang supports POWER8 already, which is good).
> The interesting resources I found at the moment are: the special debug registers as described on the ISA ; dealing with Ptrace API; and also a presentation pointing out how LLDB was ported to MSP430 architecture.
> Are there any other resources you'd recommend? I tried searching in the mailing list but I didn't find more relevant information.
> Thanks. Comments are welcome :-)
>  https://openpowerfoundation.org/?resource_lib=power-isa-version-3-0 (Book III, chapter 8, page 1103)
>  http://www.alexonlinux.com/how-debugger-works
>  http://llvm.org/devmtg/2016-03/Tutorials/LLDB-tutorial.pdf
> lldb-dev mailing list
> lldb-dev at lists.llvm.org
More information about the lldb-dev