Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH 0/4]: GDB: inferior standard I/O redirection
@ 2015-10-05 11:47 Cleber Rosa
  2015-10-05 11:47 ` [PATCH 1/4] " Cleber Rosa
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Cleber Rosa @ 2015-10-05 11:47 UTC (permalink / raw)
  To: gdb-patches; +Cc: areis, palves

GDB currently relies on shell capabilities to implement the
redirection of standard I/O[1].  This is limited and may conflict with
situations where the shell is not wanted at all.

These patches implement commands at the CLI and MI level that allow
the user to select each of the streams (input, output and error) that
they may want to have redirected while running their inferior process.

This happens to be a feature needed for the Avocado[2] test
framework, which has some interesting integration capabilities with
GDB.

This is a followup of the response for a RFC sent back in May/2015[3].

[1] - https://sourceware.org/gdb/current/onlinedocs/gdb/Input_002fOutput.html#Input_002fOutput
[2] - http://avocado-framework.github.io/
[3] - https://sourceware.org/ml/gdb-patches/2015-05/msg00131.html

Series summary:
[PATCH 1/4] GDB: inferior standard I/O redirection
[PATCH 2/4] GDB/MI: fix and simplify mi_valid_noargs utility function
[PATCH 3/4] GDB/MI: add test for command -inferior-tty-show
[PATCH 4/4] GDB/MI: inferior standard I/O redirection

Series diff stat:
 gdb/NEWS                           |  15 ++++
 gdb/doc/gdb.texinfo                | 250 +++++++++++++++++++++++++++++++++++++++++++++++++++++++-----
 gdb/fork-child.c                   |  81 ++++++++++++++++++++
 gdb/infcmd.c                       | 146 +++++++++++++++++++++++++++++++++++
 gdb/inferior.c                     |   3 +
 gdb/inferior.h                     |  11 +++
 gdb/mi/mi-cmd-env.c                |  77 +++++++++++++++++++
 gdb/mi/mi-cmds.c                   |   6 ++
 gdb/mi/mi-cmds.h                   |   6 ++
 gdb/mi/mi-getopt.c                 |  16 ++--
 gdb/testsuite/gdb.base/default.exp |   6 ++
 gdb/testsuite/gdb.mi/mi-basics.exp |  66 ++++++++++++++++
 12 files changed, 655 insertions(+), 28 deletions(-)
 


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-10-22  7:21 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-05 11:47 [PATCH 0/4]: GDB: inferior standard I/O redirection Cleber Rosa
2015-10-05 11:47 ` [PATCH 1/4] " Cleber Rosa
2015-10-05 12:23   ` Eli Zaretskii
2015-10-21 11:18   ` Pedro Alves
2015-10-05 11:47 ` [PATCH 3/4] GDB/MI: add test for command -inferior-tty-show Cleber Rosa
2015-10-21 11:19   ` Pedro Alves
2015-10-05 11:47 ` [PATCH 2/4] GDB/MI: fix and simplify mi_valid_noargs utility function Cleber Rosa
2015-10-21 11:19   ` Pedro Alves
2015-10-05 11:54 ` [PATCH 4/4] GDB/MI: inferior standard I/O redirection Cleber Rosa
2015-10-05 12:26   ` Eli Zaretskii
2015-10-21 11:19   ` Pedro Alves
2015-10-22 10:55   ` Vladimir Prus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox