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

next in thread | previous in thread | raw e-mail | index | archive | help
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@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090607021441.GA14457>