This is the mail archive of the mailing list for the GDB project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 0/4]: GDB: inferior standard I/O redirection

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

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

[1] -
[2] -
[3] -

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(-)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]