From owner-freebsd-questions@FreeBSD.ORG Sun Jun 7 02:14:47 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3ABDF106564A for ; Sun, 7 Jun 2009 02:14:47 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id ED6078FC08 for ; Sun, 7 Jun 2009 02:14:46 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id n572FonM077887; Sat, 6 Jun 2009 19:15:50 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sat, 6 Jun 2009 19:14:41 -0700 (PDT) Date: Sat, 6 Jun 2009 19:14:41 -0700 From: Gary Kline To: Steven Schlansker Message-ID: <20090607021441.GA14457@thought.org> References: <20090606033308.GA10010@thought.org> <6739C1E0-70B4-454E-AC16-86E2C2D1A586@eecs.berkeley.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6739C1E0-70B4-454E-AC16-86E2C2D1A586@eecs.berkeley.edu> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 22++ years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: FreeBSD Mailing List Subject: Re: how do i use gdb with < input? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jun 2009 02:14:47 -0000 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