Re: [lldb-dev] showing CPU register flags

2016-08-18 Thread Giusti, Valentina via lldb-dev
Thanks for your replies! @Greg, I think I will start by trying your approach and then I will get back to you with some feedback in a couple of days. Cheers, - Valentina > -Original Message- > > I am currently implementing the support for the Intel MPX registers in LLDB. > This register

Re: [lldb-dev] showing CPU register flags

2016-08-17 Thread Greg Clayton via lldb-dev
> On Aug 17, 2016, at 8:17 AM, Giusti, Valentina via lldb-dev > wrote: > > Hi everyone, > > I am currently implementing the support for the Intel MPX registers in LLDB. > This register set includes 2 registers, BNDSTATUS and BNDCFGU, which store > information about the status and configurati

Re: [lldb-dev] showing CPU register flags

2016-08-17 Thread Jim Ingham via lldb-dev
We've talked about providing a more natural view of registers that are logically made of subfields, as you describe, but I don't think any work has been done on that front. The ValueObjectRegister has a couple of ways to implement this display. The ValueObjectRegisters can be given a type, and

[lldb-dev] showing CPU register flags

2016-08-17 Thread Giusti, Valentina via lldb-dev
Hi everyone, I am currently implementing the support for the Intel MPX registers in LLDB. This register set includes 2 registers, BNDSTATUS and BNDCFGU, which store information about the status and configuration of the MPX feature in several fields. I think that it would be useful for the user