mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-01 21:35:40 +02:00
IBinary label update to use isLittleEndian
This commit is contained in:
parent
cb10be8c80
commit
562219c341
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2002-11-01
|
||||||
|
|
||||||
|
* src/.../internal/ui/CElementLabelProvider.java
|
||||||
|
change cpu display string to use isLittleEndian method on IBinary
|
||||||
|
|
||||||
|
|
||||||
2002-10-31 Judy N. Green
|
2002-10-31 Judy N. Green
|
||||||
Removed the ReferenceBlock from the Project Properties display. Eclipse
|
Removed the ReferenceBlock from the Project Properties display. Eclipse
|
||||||
adds a Project Properties entry to the Project Properties.
|
adds a Project Properties entry to the Project Properties.
|
||||||
|
|
|
@ -65,7 +65,8 @@ public class CElementLabelProvider extends LabelProvider {
|
||||||
name += "();";
|
name += "();";
|
||||||
}
|
}
|
||||||
if (celem instanceof IBinary) {
|
if (celem instanceof IBinary) {
|
||||||
name += " - [" + ((IBinary)celem).getCPU() + "]";
|
IBinary bin = (IBinary)celem;
|
||||||
|
name += " - [" + bin.getCPU() + (bin.isLittleEndian() ? "le" : "be") + "]";
|
||||||
}
|
}
|
||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue