[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[cdt-debug-dev] CDI changes
|
Heads up,
Let's get the bad news out of the way 8-).
In the head some heavy changes/refactoring coming, a brief overview:
A brief overview of some the changes
The CDI API:
- new Managers additions:
- ICDISession.getVariableManager()
- ICDISession.getExpressionManager()
- ICDISession.getRegisterManager()
rationale:
The managers are responsible for things like registers, variables,
signals, shareLibraries, breakpoints, expressions, etc ...
Every time the target is suspended, they try to update. For example
the SharedLibraryManger will call "info shared" to detect new
shared object dlopen/dlclose or the RegisterManager will proble all
the registers to see changes. Some targets may not like
this type of probing, so we can turn off this behaviour on a manager
basis.
- new methods:
- ICDIVariable.getStackFrame()
- ICDIStackFrame.getThread()
- ICDIThread.getTarget()
- ICDITarget.getSession()
rationale:
will be possible to trace back i.e. this local variable came
from this stackframe, from this thread, from this target etc ..
In the MI --> CDI implementation some heavy factoring, that will
affect the external users of that plugin:
- Refactor/Rename: CSession --> Session
- Refactor/Rename: CTarget --> Target
- Refactor/Rename: CThread --> Thread