This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb/gdbserver ChangeLog
- From: devans at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 16 Dec 2011 19:10:59 -0000
- Subject: src/gdb/gdbserver ChangeLog
CVSROOT: /cvs/src
Module name: src
Changes by: devans@sourceware.org 2011-12-16 19:10:59
Modified files:
gdb/gdbserver : ChangeLog
Log message:
* 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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbserver/ChangeLog.diff?cvsroot=src&r1=1.527&r2=1.528