[Lldb-commits] [lldb] r186207 - Introduces core file support for Linux x86-64 using 'lldb a.out -c core'.

Ed Maste emaste at freebsd.org
Thu Jul 25 11:41:16 PDT 2013


On 16 July 2013 17:43, Greg Clayton <gclayton at apple.com> wrote:
> I spent some time modifying the patch to correctly abstract the register contexts so we don't have this incorrect RegisterContext base class that uses ProcessMonitor... I wasn't able to finish it, but I did get it close. I have attached the patch for you guys to check out and hopefully fix it up and get it working for normal linux/freebsd, and for ELF core files for both linux and freebsd.
>
> The basics are, the following classes contain the register context data, but don't do any of the reading/writing registers (they have pure virtual functions for that):
>
> RegisterContextPOSIX_i386
> RegisterContextPOSIX_x86_64

Is there any reason these shouldn't be just RegisterContext_i386 and
RegisterContext_x86_64, and used for all platforms (i.e., shared with
the Darwin ones)?




More information about the lldb-commits mailing list