Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [dsdp-dd-dev] M6 Interface issues.

Thanks Randy,

My replies below:

Rohrbach, Randy wrote:


I spent some time looking at the Wind River DFE Interfaces, comparing them to the

current DSF set. I have some concerns that perhaps we are missing some things. I

did not file bugs, since I could be interpreting things incorrectly. Here are the

areas of concern.

        Signals - Our TargetConnection run control area has the following functions.

              public Boolean hasSignalCapability( String context )

              public void resumeWithSignal( String context, String signal )

              public void resumeWithoutSignal( String context )

              The DSF interface is basically empty. Seems like these should be

             captured there if/when we move to the Debug View being DSF based.

Agreed.  The DSF signals interface was never properly defined.  I filed bug 225604 to remove it for now.  We can add it back and properly define it when we have a client and a reference implementation.

       Registers - Out TargetConnection has register access( getRegister, setRegister )

              In our interface these functions take the register name as a string ( assumes

              register names are unique of course ). The methodology in is

              of course to use variously styled DMContexts. These functions are used for

              example in SetPC Menu Actions or hover over variables in disassembly )

                   E.g. setRegister( context , "pc", ... )

              In order to accomplish something similar and without requiring that the user to

              data mine through all of the groups to find a particular register it would seem

              like we need some form of register creation convenience method

                  public IRegisterDMContext createRegisterDMContext( IDMContext ctx, String regName );

              Similar to how it is done in the IExpressions interface.

I agree, this would be very convenient, and it could be readily implemented by GDB.  But I don't know if it could be as easily implemented by any other debugger.  Would an asynchronous version of this method be sufficient?  I'll file a bug for it.


             There is a helper function which returns the address size for a debuggable context.

                 public void int getAddressSize( String context )

            I did not see where this capability was expressed. We use this throughout the WRS



I suppose this should belong on the IMemory service.  Also, isLittleEndian() also belong on the IMemory service.  There's been a lot of discussion on these topics in the past though and I don't know if there ever was a clear concencus on how endianness and address size should be presented and treated in the APIs.  So I'll file a bug for it, but I'm not comfortable rushing in and adding it to the interfaces now.


Back to the top