Re: [lldb-dev] Port LLDB to ppc64le (ABIv2) on linux

2017-07-06 Thread Howard Hellyer via lldb-dev
> > Hi Gustavo, > > > > Were you interested in support for live debugging via ptrace or reading > > from core files? (Or both!) > > Mainly live debugging, but I have the feeling that implementing > post-mortem wouldn't be such a hassle afterwards. (register read/ > write, stack walk... they wou

Re: [lldb-dev] Port LLDB to ppc64le (ABIv2) on linux

2017-07-06 Thread Gustavo Serra Scalet via lldb-dev
Hi, > -Original Message- > From: Howard Hellyer [mailto:hhell...@uk.ibm.com] > Sent: quinta-feira, 6 de julho de 2017 09:59 > To: Gustavo Serra Scalet > Cc: lldb-dev@lists.llvm.org > Subject: Re: [lldb-dev] Port LLDB to ppc64le (ABIv2) on linux > > Hi Gustavo,

Re: [lldb-dev] Port LLDB to ppc64le (ABIv2) on linux

2017-07-06 Thread Howard Hellyer via lldb-dev
a Scalet via lldb-dev > To: "lldb-dev@lists.llvm.org" > Date: 05/07/2017 20:13 > Subject: [lldb-dev] Port LLDB to ppc64le (ABIv2) on linux > Sent by: "lldb-dev" > > Hi, > > I'm interested in porting LLDB to PowerPC 64 little endian (e.g: >

Re: [lldb-dev] Port LLDB to ppc64le (ABIv2) on linux

2017-07-06 Thread Gustavo Serra Scalet via lldb-dev
Hi Pavel, > -Original Message- > From: Pavel Labath [mailto:lab...@google.com] > Sent: quinta-feira, 6 de julho de 2017 07:13 > To: Gustavo Serra Scalet > Cc: lldb-dev@lists.llvm.org > Subject: Re: [lldb-dev] Port LLDB to ppc64le (ABIv2) on linux > > Hi G

Re: [lldb-dev] Port LLDB to ppc64le (ABIv2) on linux

2017-07-06 Thread Pavel Labath via lldb-dev
Hi Gustavo, 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

[lldb-dev] Port LLDB to ppc64le (ABIv2) on linux

2017-07-05 Thread Gustavo Serra Scalet via lldb-dev
Hi, 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