1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 06:02:11 +02:00

Added assert

This commit is contained in:
John Cortell 2009-09-24 15:52:19 +00:00
parent 64bfd874f4
commit 8eb87bb88c

View file

@ -263,6 +263,9 @@ public class MIRegisters extends AbstractDsfService implements IRegisters, ICach
return;
}
// the request was for only one register
assert regValue.length == 1;
// We can determine if the register is floating point because
// GDB returns this additional information as part of the value.
MIRegisterValue reg = regValue[0];