This is the implementation of a new gdb command, named 'pipe', to make ease of I/O communication between gdb and shell. The syntax of this command is shown as follows: (gdb) pipe [option] gdb-cmd shell-cmd List of options go with pipe command: -r gdb reads output of shell-command from pipe -w gdb passes output of a command to shell to process. - end of gdb option list dlim (delimiter) is a single ASCII character from the set below: {|/\'"`#@!$%^} (We actually can remove this restriction). The default behaviour of pipe will be to pass the gdb command output to shell. Makefile.in | 4 - pipe.c | 194 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ pipe.h | 34 ++++++++++ ui-file.c | 14 ++++ ui-file.h | 3 5 files changed, 247 insertions(+), 2 deletions(-) Thanks, Abhijit Halder