Re: how do i use gdb with input?

2009-06-06 Thread Steven Schlansker
On Jun 5, 2009, at 8:33 PM, Gary Kline wrote: i'm trying to walk thru a short program and see what's actually happening. can anybody remind me how to send a file file redirect to ./ a.out? gdb myprog (gdb) run myfile ___

Re: how do i use gdb with input?

2009-06-06 Thread Gary Kline
On Fri, Jun 05, 2009 at 11:36:33PM -0700, Steven Schlansker wrote: On Jun 5, 2009, at 8:33 PM, Gary Kline wrote: i'm trying to walk thru a short program and see what's actually happening. can anybody remind me how to send a file file redirect to ./ a.out? gdb myprog

how do i use gdb with input?

2009-06-05 Thread Gary Kline
i'm trying to walk thru a short program and see what's actually happening. can anybody remind me how to send a file file redirect to ./a.out? thanks much, gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix