Community
Participate
Working Groups
} catch (IOException e) {
}
} else {
/* dump to GDB console as a fallback... */
OutputStream console = session.getConsolePipe();
if (console != null) {
MITargetStreamOutput out = (MITargetStreamOutput) stream;
String str = out.getString();
// Process the console stream too.
if (str != null) {
try {
console.write(str.getBytes());
console.flush();
} else if (stream instanceof MILogStreamOutput) {
// This is meant for the gdb console.