mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Fix for bug 220449
ExpressionService parses strings when requesting an address and only keeps the address part.
This commit is contained in:
parent
9150b06a8f
commit
7456589c4f
1 changed files with 8 additions and 1 deletions
|
@ -631,7 +631,14 @@ public class ExpressionService extends AbstractDsfService implements IExpression
|
|||
new DataRequestMonitor<MIDataEvaluateExpressionInfo>(getExecutor(), rm) {
|
||||
@Override
|
||||
protected void handleOK() {
|
||||
final String addrStr = getData().getValue();
|
||||
String tmpAddrStr = getData().getValue();
|
||||
|
||||
// Deal with adresses of contents of a char* which is in
|
||||
// the form of "0x12345678 \"This is a string\""
|
||||
int split = tmpAddrStr.indexOf(' ');
|
||||
if (split != -1) tmpAddrStr = tmpAddrStr.substring(0, split);
|
||||
final String addrStr = tmpAddrStr;
|
||||
|
||||
fExpressionCache.execute(
|
||||
new MIDataEvaluateExpression<MIDataEvaluateExpressionInfo>(sizeDmc),
|
||||
new DataRequestMonitor<MIDataEvaluateExpressionInfo>(getExecutor(), rm) {
|
||||
|
|
Loading…
Add table
Reference in a new issue