[lldb-dev] Port LLDB to ppc64le (ABIv2) on linux
Howard Hellyer via lldb-dev
lldb-dev at lists.llvm.org
Thu Jul 6 05:58:56 PDT 2017
Were you interested in support for live debugging via ptrace or reading
from core files? (Or both!)
I did have a look at what it would take to add support for Power PC little
endian core files. I didn't seem too bad as the existing code for PPC 64
support just needed to be aware of LE as well. I may be able to resurrect
the patch if master hasn't diverged too much.
Live debugging looked a bit more complicated but that's probably because
most of my experience has been with post-mortem debugging. I think I
stopped work on the core file support because I didn't have the time to
learn about the live debugging side and it didn't seem to make sense to
add core file support without live debug.
J9 RAS Developer
IBM Runtime Technologies, IBM Systems
"lldb-dev" <lldb-dev-bounces at lists.llvm.org> wrote on 05/07/2017 20:13:02:
> From: Gustavo Serra Scalet via lldb-dev <lldb-dev at lists.llvm.org>
> To: "lldb-dev at lists.llvm.org" <lldb-dev at lists.llvm.org>
> Date: 05/07/2017 20:13
> Subject: [lldb-dev] Port LLDB to ppc64le (ABIv2) on linux
> Sent by: "lldb-dev" <lldb-dev-bounces at lists.llvm.org>
> 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
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lldb-dev