Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] register bitelds show and read/write

Hi,

CDT certainly does:

In the view model, the bitfields are represented by
org.eclipse.cdt.dsf.debug.ui.viewmodel.register.RegisterBitFieldVMNode
In the data model, the bitfields are represented by
org.eclipse.cdt.dsf.debug.service.IRegisters.IBitFieldDMContext
In the backend, the command response is stored by
org.eclipse.cdt.dsf.mi.service.command.output.MIDataListRegisterValuesInfo

I hope that helps to get you started with this.

Jonah
~~~
Jonah Graham
Kichwa Coders Ltd.
www.kichwacoders.com


On 21 July 2016 at 10:57, 高国胜 <guosheng_gao@xxxxxxxxxxxxxx> wrote:
> Hi,
>
> Does CDT support register bit-fields show and read/write?
>
> The MI packet from GDB like this:
>
> 687,376 51-data-list-register-values --thread 1 d 371
>
> 687,377 48^done,register-values=[{number="371",value="{CU = 0, BEV = 01, IM
> = 0, KUo = 0, IEo = 0, K\
>
> Up = 0, IEp = 0, KUc = 0, IEc = 0}"}]
>
>
>
> Best regards!
> ---------------------------------------------
> guosheng_gao 高国胜
> Realsil Microelectronics Inc.
> Tel: +86-512-6258-8966 ext.6617
> E-Mail: guosheng_gao@xxxxxxxxxxxxxx
> ---------------------------------------------
>
>
>
>
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top