mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-29 11:55:40 +02:00
Gdb return the value in octal we have to decode() it.
This commit is contained in:
parent
1f82bf446b
commit
c124fa1f18
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ public class MIInferiorExitEvent extends MIEvent {
|
||||||
|
|
||||||
if (var.equals("exit-code")) {
|
if (var.equals("exit-code")) {
|
||||||
try {
|
try {
|
||||||
code = Integer.parseInt(str.trim());
|
code = Integer.decode(str.trim()).intValue();
|
||||||
} catch (NumberFormatException e) {
|
} catch (NumberFormatException e) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue