mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 18:26:01 +02:00
fixed NPE.
This commit is contained in:
parent
399db5247a
commit
135c85133a
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ public class CDIDisassemblyRetrieval implements IDisassemblyRetrieval {
|
||||||
}
|
}
|
||||||
else if (startAddress != null) {
|
else if (startAddress != null) {
|
||||||
mixedInstructions= cdiTarget.getMixedInstructions(startAddress, endAddress);
|
mixedInstructions= cdiTarget.getMixedInstructions(startAddress, endAddress);
|
||||||
if (mixedInstructions.length == 0) {
|
if (mixedInstructions == null || mixedInstructions.length == 0) {
|
||||||
mixedInstructions= null;
|
mixedInstructions= null;
|
||||||
asmInstructions= cdiTarget.getInstructions(startAddress, endAddress);
|
asmInstructions= cdiTarget.getInstructions(startAddress, endAddress);
|
||||||
} else if (mixedInstructions.length == 1 && mixedInstructions[0].getInstructions().length == 0) {
|
} else if (mixedInstructions.length == 1 && mixedInstructions[0].getInstructions().length == 0) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue