Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jun 2009 23:36:33 -0700
From:      Steven Schlansker <scs@eecs.berkeley.edu>
To:        Gary Kline <kline@thought.org>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: how do i use gdb with < input?
Message-ID:  <6739C1E0-70B4-454E-AC16-86E2C2D1A586@eecs.berkeley.edu>
In-Reply-To: <20090606033308.GA10010@thought.org>
References:  <20090606033308.GA10010@thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6739C1E0-70B4-454E-AC16-86E2C2D1A586>