1
/*******************************************************************************
2
* Copyright (c) 2000, 2006 QNX Software Systems and others.
3
* All rights reserved. This program and the accompanying materials
4
* are made available under the terms of the Eclipse Public License v1.0
5
* which accompanies this distribution, and is available at
6
* http://www.eclipse.org/legal/epl-v10.html
9
* QNX Software Systems - Initial API and implementation
10
*******************************************************************************/
11
package org.eclipse.cdt.debug.mi.core.output;
17
* GDB/MI show parsing.
19
* -data-evaluate-expression $_exitcode
23
public class MIGDBShowExitCodeInfo extends MIDataEvaluateExpressionInfo {
25
public MIGDBShowExitCodeInfo(MIOutput o) {
29
public int getCode() {
31
String exp = getExpression();
33
code = Integer.parseInt(exp);
34
} catch (NumberFormatException e) {