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
Hi Gustavo, 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

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