From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9629 invoked from network); 6 Oct 2006 15:37:02 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.6 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 6 Oct 2006 15:37:02 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 55268 invoked from network); 6 Oct 2006 15:36:55 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 6 Oct 2006 15:36:55 -0000 Received: (qmail 10824 invoked by alias); 6 Oct 2006 15:36:46 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10796 Received: (qmail 10814 invoked from network); 6 Oct 2006 15:36:45 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 6 Oct 2006 15:36:45 -0000 Received: (qmail 54114 invoked from network); 6 Oct 2006 15:36:45 -0000 Received: from bes.cs.utk.edu (160.36.56.220) by a.mx.sunsite.dk with SMTP; 6 Oct 2006 15:36:41 -0000 Received: from localhost (localhost [127.0.0.1]) by bes.cs.utk.edu (Postfix) with ESMTP id AEE4EFD21 for ; Fri, 6 Oct 2006 11:36:22 -0400 (EDT) X-Virus-Scanned: by amavisd-new with ClamAV and SpamAssasin at cs.utk.edu Received: from bes.cs.utk.edu ([127.0.0.1]) by localhost (bes.cs.utk.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mr7Y6etl9CqQ for ; Fri, 6 Oct 2006 11:36:19 -0400 (EDT) Received: from namib.cs.utk.edu (namib.cs.utk.edu [160.36.59.92]) by bes.cs.utk.edu (Postfix) with ESMTP id B8013FD1D for ; Fri, 6 Oct 2006 11:36:19 -0400 (EDT) Received: by namib.cs.utk.edu (Postfix, from userid 10605) id 55C8A36F14; Fri, 6 Oct 2006 11:36:37 -0400 (EDT) Date: Fri, 6 Oct 2006 11:36:37 -0400 From: Chris Johnson To: zsh-users@sunsite.dk Subject: Re: ZLE widget to run gdb on command line Message-ID: <20061006153637.GA1901@namib.cs.utk.edu> References: <20061006145222.GA32307@namib.cs.utk.edu> <20061006152343.GA30653@DervishD> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061006152343.GA30653@DervishD> X-From-Chris: Yes User-Agent: Mutt/1.5.9i DervishD sent me the following 1.0K: > > Hi. I just thought I'd share a widget that I find helpful. Invoking > > gdb is something I need to do a lot lately, it seems, and I often think > > I can pass the program's arguments as arguments to gdb: > > Try this: > > gdb --args myprog arg1 arg2 arg3 You think they'd document these things in the man pages. Or maybe my man pages are out of date. > (if you don't use a core argument, of course) > > BTW, the widget is quite useful, not only for gdb, but for other > interactive programs too where you ALWAYS run certain command at > startup. Thanks :)) Yep, you still need to type "run" with --args. Thanks for the heads-up. -- Chris Johnson cjohnson@cs.utk.edu http://www.cs.utk.edu/~cjohnson