mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 06:02:11 +02:00
Added assert
This commit is contained in:
parent
64bfd874f4
commit
8eb87bb88c
1 changed files with 3 additions and 0 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Reference in a new issue