Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 123279 Details for
Bug 257842
[memory] Expression Evaluation API
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Patch to IMemoryAddress
memoryAddress.txt (text/plain), 2.66 KB, created by
Samantha Chan
on 2009-01-21 14:26:33 EST
(
hide
)
Description:
Patch to IMemoryAddress
Filename:
MIME Type:
Creator:
Samantha Chan
Created:
2009-01-21 14:26:33 EST
Size:
2.66 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.debug.core >Index: core/org/eclipse/debug/core/model/IMemoryAddress.java >=================================================================== >RCS file: core/org/eclipse/debug/core/model/IMemoryAddress.java >diff -N core/org/eclipse/debug/core/model/IMemoryAddress.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ core/org/eclipse/debug/core/model/IMemoryAddress.java 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,59 @@ >+/******************************************************************************* >+ * Copyright (c) 2009 Wind River and others. >+ * All rights reserved. This program and the accompanying materials >+ * are made available under the terms of the Eclipse Public License v1.0 >+ * which accompanies this distribution, and is available at >+ * http://www.eclipse.org/legal/epl-v10.html >+ * >+ * Contributors: >+ * Wind River (Ted Williams) - initial API and implementation >+ * IBM (Samantha Chan) - updated documentation, added getSize, subclass from IValue >+ *******************************************************************************/ >+package org.eclipse.debug.core.model; >+ >+ >+import java.math.BigInteger; >+ >+import org.eclipse.debug.core.DebugException; >+ >+/** >+ * <code>IMemoryAddress</code> represents the value of an address in memory. >+ * >+ * This interface is introduced to allow clients to evaluate an expression to an >+ * address without having to create an <code>IMemoryBlock</code>. To evaluate an >+ * expression to an address, clients are expected to create an <code>IExpression</code> >+ * from the expression manager. If the expression can be evaluated to an address, the returning >+ * value of the expression should optionally implement this interface or be >+ * able to adapt to an <code>IMemoryAddress</code> object. >+ * >+ * <p> >+ * Clients may implement this interface. >+ * </p> >+ * @since 3.5 >+ * @see org.eclipse.debug.core.IExpressionManager >+ * @see org.eclipse.debug.core.model.IValue >+ */ >+ >+ >+public interface IMemoryAddress extends IValue { >+ >+ /** >+ * Returns the value of the memory address as a <code>BigInteger</code>. >+ * >+ * @return a BigInteger representation of the memory address >+ * @exception DebugException if this method fails. Reasons include: >+ * <ul><li>Failure communicating with the VM. The DebugException's >+ * status code contains the underlying exception responsible for >+ * the failure.</li> >+ */ >+ public BigInteger getValueAddress() throws DebugException; >+ >+ >+ /** >+ * Returns the address size in bytes. >+ * >+ * @return the number of bytes required to hold this address. >+ */ >+ public int getSize(); >+ >+}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 257842
:
123121
|
123132
| 123279 |
123406