diff options
author | Doug Evans <dje@google.com> | 2011-12-16 19:10:58 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2011-12-16 19:10:58 +0000 |
commit | e7b06c57d8264a19aa3309fba9a6f6e90228f59c (patch) | |
tree | 00f941a91f58099c00be303196c71cb2249a1ef1 /gdb/ser-tcp.h | |
parent | e0f9f062204827dd5f8a01ab9252ec29273cd3b0 (diff) | |
download | fsf-binutils-gdb-e7b06c57d8264a19aa3309fba9a6f6e90228f59c.zip fsf-binutils-gdb-e7b06c57d8264a19aa3309fba9a6f6e90228f59c.tar.gz fsf-binutils-gdb-e7b06c57d8264a19aa3309fba9a6f6e90228f59c.tar.bz2 |
* linux-low.c (linux_create_inferior): If stdio connection,
redirect stdin from /dev/null, stdout to stderr.
* remote-utils.c (remote_is_stdio): New static global.
(remote_connection_is_stdio): New function.
(remote_prepare): Handle stdio connection.
(remote_open): Ditto.
(remote_close): Don't close stdin for stdio connections.
(read_prim,write_prim): New functions. Replace all calls to
read/write to these.
* server.c (main): Watch for "-" argument. Move call to
remote_prepare before start_inferior.
* server.h (STDIO_CONNECTION_NAME): New macro.
(remote_connection_is_stdio): Declare.
Diffstat (limited to 'gdb/ser-tcp.h')
0 files changed, 0 insertions, 0 deletions