Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Problem with CMemoryBlockExtension

Done as 148937

Note: I've listed all of the unimplemented methods in CMemoryBlockExtension (there are 5!).

---
Derek

Mikhail Khodjaiants wrote:
Yes, please file a bug. This method is not used by the platform, but it should be implemented.
Thanks.

----- Original Message ----- From: "Derek Morris" <dmsubs@xxxxxxxxxxxxx>
To: "CDT General developers list." <cdt-dev@xxxxxxxxxxx>
Sent: Tuesday, June 27, 2006 12:27 PM
Subject: [cdt-dev] Problem with CMemoryBlockExtension



Hi,

I'm adding a MemoryRenderer to Eclipse/CDT 3.1.2/3.0.2.

In my renderer, I am passed a CMemoryBlockExtension and am calling
getBytesFromOffset, which is returning null. Here is the source for that
function (from CMemoryBlockExtension.java):

/* (non-Javadoc)
 * @see
org.eclipse.debug.core.model.IMemoryBlockExtension#getBytesFromOffset(java.math.BigInteger,
long)
 */
public MemoryByte[] getBytesFromOffset( BigInteger unitOffset, long
addressableUnits ) throws DebugException {
// TODO Auto-generated method stub
return null;
}

i.e. it does nothing but return null!

I can use the alternate getBytesFromAddress, but shouldn't this have
been implemented? Should I bugzilla, or is this deliberate?


--
Derek
_______________________________________________
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