[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
| Re: [cdt-dev] DSF/GDB: context types required to create an expression | 
I may be useful to have a little bit of a design discussion around 
this.  Are you planning to implement a register service which delegates 
to the expression service for evaluation (PDA example does this).  Or 
are you going to create a register service which re-uses the 
MIvariableManager and does a lot of similar stuff that the expression 
service does.  The former would be much simpler I think, though the 
latter will give you more control in case you run into performance or 
other issues.
Cheers,
Pawel
On 06/21/2010 10:00 AM, Mikhail Khodjaiants wrote:
Hi,
There are three public constructors in MIExpressionDMC for various 
context types. The underlying variable objects are created against the 
current context in GDB, so none of these particular context types is 
used.
I am working on the variable object based implementation for registers 
and it meaningless to pass a thread or a frame context to create a 
variable object for a register. It seems the parent register group 
context is a natural candidate for this purpose. Should I add a new 
constructor or it is better to make the generic private constructor 
public?
Thanks,
Mikhail
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev