[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-dev] DSF-GDB register view
|
Hi,
this wiki may
help.
Feel free to update with
more info
Hi,
In your launch delegate, you can define a subclass of
GdbLaunch and override its getServiceFactory(). Also create a subclass of
GdbDebugServicesFactory. In method getServiceFactory(), return an object of
SampleGdbDebugServicesFactory. In SampleGdbDebugServicesFactory, override
createRegistersService(DsfSession session) to return an object of
SampleMIRegisters.
Thanks
Abeer Bagul
Tensilica India
P.S.
Please carry on the conversation in the cdt-dev mailing list so that anyone
else can also pitch in with their suggestions.
On Thu, Dec 22, 2011 at 9:59 AM, shalini shalini
<shalini1270@xxxxxxxxx>
wrote:
Hi
,
I submitted the query as Currently DSF-GDB only defines
one
register group for all registers in the backend . How to define
the
custom register groups and how to add the bitfields
to the default
DSF-GDB register view.
Then, the eclipse
organization people send this answer as One way
is to create a
subclass of MIRegisters service and override the
methods
getRegisterGroups(...) and getRegisters(...). You can then
create your
own register groups in getRegisterGroups(...) and assign
registers to
groups in getRegisters(...).
You might have to override
ServicesLaunchSequence to make sure your
subclass service gets
initialized instead of MIRegisters service.
According to the above
answer i create one SampleMIRegisters and
this class extends the
MIRegisters .Then how to connect my sample
MIRegisters with the override
ServicesLaunchSequence. Please help
me...
Best
Regards
Shalini
Magham