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:
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")) {
|
||||
try {
|
||||
code = Integer.parseInt(str.trim());
|
||||
code = Integer.decode(str.trim()).intValue();
|
||||
} catch (NumberFormatException e) {
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue