Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] preserve expanded state in register view across session

Ok, so you are talking about GDB implementation specific limitation. We are using EDC.

Anyway, my original question is more about generic issue in platform & CDT.

Thanks.

 

Ling

 

From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Alvaro Sanchez
Sent: Tuesday, May 14, 2013 2:09 PM
To: CDT General developers list.
Subject: Re: [cdt-dev] preserve expanded state in register view across session

 

It's true that the model structure covers registers groups although the functionality is limited to a single group, hard coded in the Registers service and with no UI to allow user defined groups. 

   I am looking at the implementation for this as per the bugs listed below.

 

/Alvaro

 

 

 

 

On Tue, May 14, 2013 at 2:19 PM, Ling Wang <Ling.Wang@xxxxxxxxxx> wrote:

Hi Alvaro,

 

Register grouping has been in DSF for long. See

org.eclipse.cdt.dsf.debug.ui.viewmodel.register.RegisterVMProvider

 

Or just start DSF GDB debugger, you will see.

 

Thanks.

 

Ling

 

From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Alvaro Sanchez
Sent: Tuesday, May 14, 2013 7:17 AM
To: CDT General developers list.
Subject: Re: [cdt-dev] preserve expanded state in register view across session

 

Hello,

Register grouping is only supported by the CDI implementation (see CRegisterManager for saving and initializing from the launch configuration)

 

I am currently looking in how to implement register grouping in DSF, once we have that we can discuss how to preserve the expanded state in DSF.

 

 The implementations in CDI and DSF are quite different e.g. on the gdb/mi interface CDI uses var-create/var-evaluate-_expression_ whereas DSF uses data-list-registers-values.

 

 It would nice to know if anyone else has looked into Register grouping in CDI/DSF to exchange some ideas on the implementation of Register Grouping in DSF

 

/Alvaro

 

 

 

On Tue, May 14, 2013 at 2:20 AM, Ling Wang <Ling.Wang@xxxxxxxxxx> wrote:

Hi there,

 

This is Ling and I’m back to this great community after more than one year’s departure. 

 

Question. How can I preserve the expanded state of a register group in Register View across debug session ?  I see the RegistersView is from platform UI, and I haven’t found any code in that class or any API that allows the model (CDT, DSF) to control which node is expanded.

 

Pointers ?

 

Thanks !

 

Ling

 



_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev

 



_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev

 



Back to the top