jon at beniston dot com
2017-08-21 14:48:52 UTC
https://sourceware.org/bugzilla/show_bug.cgi?id=21985
Bug ID: 21985
Summary: set inferior-tty doesn't work for remote or sim
targets
Product: gdb
Version: HEAD
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: jon at beniston dot com
Target Milestone: ---
Created attachment 10356
--> https://sourceware.org/bugzilla/attachment.cgi?id=10356&action=edit
Potential fix
The set inferior-tty command doesn't work for remote or sim targets. (That is,
remote targets using remote-fileio to have the IO appear on the debug host).
This is a shame as Eclipse (and potentially other front-ends) use this command
to separate the windows used for target IO and the gdb console. This therefore
doesn't currently work for remote and sim targets.
The attached patch adds support for this command in remote-fileio.c and
remote-sim.c. Reads/writes from/to stdin/stdout are redirected to the tty.
This may not be the idea way to implement this within GDB, but it does get it
working with Eclipse.
Bug ID: 21985
Summary: set inferior-tty doesn't work for remote or sim
targets
Product: gdb
Version: HEAD
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: jon at beniston dot com
Target Milestone: ---
Created attachment 10356
--> https://sourceware.org/bugzilla/attachment.cgi?id=10356&action=edit
Potential fix
The set inferior-tty command doesn't work for remote or sim targets. (That is,
remote targets using remote-fileio to have the IO appear on the debug host).
This is a shame as Eclipse (and potentially other front-ends) use this command
to separate the windows used for target IO and the gdb console. This therefore
doesn't currently work for remote and sim targets.
The attached patch adds support for this command in remote-fileio.c and
remote-sim.c. Reads/writes from/to stdin/stdout are redirected to the tty.
This may not be the idea way to implement this within GDB, but it does get it
working with Eclipse.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are receiving this mail because:
You are on the CC list for the bug.