1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-28 19:35:36 +02:00

Gdb return the value in octal we have to decode() it.

This commit is contained in:
Alain Magloire 2002-10-07 17:18:39 +00:00
parent 1f82bf446b
commit c124fa1f18

View file

@ -62,7 +62,7 @@ public class MIInferiorExitEvent extends MIEvent {
if (var.equals("exit-code")) {
try {
code = Integer.parseInt(str.trim());
code = Integer.decode(str.trim()).intValue();
} catch (NumberFormatException e) {
}
}