Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 78382
Collapse All | Expand All

(-)RxThread.java (+15 lines)
Lines 342-347 Link Here
342
					} catch (IOException e) {
342
					} catch (IOException e) {
343
					}
343
					}
344
				}
344
				}
345
			} else {
346
				/* dump to GDB console as a fallback... */
347
				OutputStream console = session.getConsolePipe();
348
				if (console != null) {
349
					MITargetStreamOutput out = (MITargetStreamOutput) stream;
350
					String str = out.getString();
351
					// Process the console stream too.
352
					if (str != null) {
353
						try {
354
							console.write(str.getBytes());
355
							console.flush();
356
						} catch (IOException e) {
357
						}
358
					}
359
				}
345
			}
360
			}
346
		} else if (stream instanceof MILogStreamOutput) {
361
		} else if (stream instanceof MILogStreamOutput) {
347
			// This is meant for the gdb console.
362
			// This is meant for the gdb console.

Return to bug 78382