how do i use gdb with < input?

Gary Kline kline at thought.org
Sun Jun 7 02:14:47 UTC 2009


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
> (gdb) run < myfile
> 

	thanks, slightly belatedly.  

	gary

	(ps: good to hear from someone from where i spent some great years:
	 Cory Hall.)



-- 
 Gary Kline  kline at thought.org  http://www.thought.org  Public Service Unix
        http://jottings.thought.org   http://transfinite.thought.org
       For FBSD list: http://transfinite.thought.org/slicejourney.php



More information about the freebsd-questions mailing list