mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-19 06:55:23 +02:00
Bug 109206: Last register group is not added if it has only one register.
This commit is contained in:
parent
5d8d0dacaa
commit
9047a11e82
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2005-09-09 Mikhail Khodjaiants
|
||||||
|
Bug 109206: Last register group is not added if it has only one register.
|
||||||
|
* CRegisterManager.java
|
||||||
|
|
||||||
2005-09-06 Mikhail Khodjaiants
|
2005-09-06 Mikhail Khodjaiants
|
||||||
Cleanup: replaced "new Boolean" by the static Boolean objects (Java 1.4).
|
Cleanup: replaced "new Boolean" by the static Boolean objects (Java 1.4).
|
||||||
* CDebugUtils.java
|
* CDebugUtils.java
|
||||||
|
|
|
@ -266,7 +266,7 @@ public class CRegisterManager {
|
||||||
}
|
}
|
||||||
current = d.getGroupName();
|
current = d.getGroupName();
|
||||||
}
|
}
|
||||||
if ( startIndex < fRegisterDescriptors.length - 1 ) {
|
if ( startIndex < fRegisterDescriptors.length ) {
|
||||||
IRegisterDescriptor[] descriptors = new IRegisterDescriptor[fRegisterDescriptors.length - startIndex];
|
IRegisterDescriptor[] descriptors = new IRegisterDescriptor[fRegisterDescriptors.length - startIndex];
|
||||||
System.arraycopy( fRegisterDescriptors, startIndex, descriptors, 0, descriptors.length );
|
System.arraycopy( fRegisterDescriptors, startIndex, descriptors, 0, descriptors.length );
|
||||||
fRegisterGroups.add( new CRegisterGroup( getDebugTarget(), current, descriptors ) );
|
fRegisterGroups.add( new CRegisterGroup( getDebugTarget(), current, descriptors ) );
|
||||||
|
|
Loading…
Add table
Reference in a new issue