how do i use gdb with < input?

Steven Schlansker scs at eecs.berkeley.edu
Sat Jun 6 06:36:40 UTC 2009


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



More information about the freebsd-questions mailing list