Re: NOT WORKED AROUND Re: No I/O redirection under GDB

2014-04-06 Thread Christopher Faylor
On Sat, Apr 05, 2014 at 08:23:37PM +1100, Duncan Roe wrote: >Sorry for the noise everyone. > >I started to compose the last mail thinking "set inferior-tty" would solve my >problem. Then on further testing, I found it didn't. > >I'm still up for fixing gdb to do the job properly - or can someone on

NOT WORKED AROUND Re: No I/O redirection under GDB

2014-04-05 Thread Duncan Roe
Sorry for the noise everyone. I started to compose the last mail thinking "set inferior-tty" would solve my problem. Then on further testing, I found it didn't. I'm still up for fixing gdb to do the job properly - or can someone on this list tell me why I'd be wasting my time? Cheers ... Duncan.

WORKED AROUND Re: No I/O redirection under GDB

2014-04-04 Thread Duncan Roe
On Fri, Apr 04, 2014 at 10:51:24PM -0400, Eliot Moss wrote: > On 4/4/2014 10:29 PM, Duncan Roe wrote: > >I just found that gdb's "run" command doesn't action redirection (e.g. run > >/dev/pty2 2>&1, where the shell on /dev/pty2 is doing a long > >sleep). > >Instead, the invoked program gets the re