diff options
Diffstat (limited to 'debug')
2 files changed, 16 insertions, 9 deletions
diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/disassembly/dsf/DisassemblyPosition.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/disassembly/dsf/DisassemblyPosition.java index 1d30b082b35..d4fff2f97a3 100644 --- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/disassembly/dsf/DisassemblyPosition.java +++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/disassembly/dsf/DisassemblyPosition.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2007, 2010 Wind River Systems and others. + * Copyright (c) 2007, 2011 Wind River Systems 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 @@ -18,20 +18,22 @@ import java.math.BigInteger; public class DisassemblyPosition extends AddressRangePosition { public char[] fFunction; - + public BigInteger fOpcodes; + /** - * * @param offset * @param length * @param addressOffset * @param addressLength + * @param functionOffset * @param opcodes */ - public DisassemblyPosition(int offset, int length, BigInteger addressOffset, BigInteger addressLength, String opcodes) { + public DisassemblyPosition(int offset, int length, BigInteger addressOffset, BigInteger addressLength, String functionOffset, BigInteger opcodes) { super(offset, length, addressOffset, addressLength); - fFunction = opcodes.toCharArray(); - } - + fOpcodes = opcodes; + fFunction = functionOffset.toCharArray(); + } + /** * @return source file */ diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/disassembly/dsf/IDisassemblyDocument.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/disassembly/dsf/IDisassemblyDocument.java index f954594b7af..3266ccb8469 100644 --- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/disassembly/dsf/IDisassemblyDocument.java +++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/disassembly/dsf/IDisassemblyDocument.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2010 Wind River Systems, Inc. and others. + * Copyright (c) 2010, 2011 Wind River Systems, Inc. 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 @@ -28,6 +28,11 @@ public interface IDisassemblyDocument { throws BadLocationException; AddressRangePosition insertDisassemblyLine(AddressRangePosition p, - BigInteger address, int intValue, String opCode, String string, + BigInteger address, int intValue, String functionOffset, String instruction, String compilationPath, int lineNumber) throws BadLocationException; + + AddressRangePosition insertDisassemblyLine(AddressRangePosition p, + BigInteger address, int length, String functionOffset, BigInteger opcode, + String instruction, String compilationPath, int lineNumber) + throws BadLocationException; } |