From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17512 invoked from network); 6 Oct 2006 15:26:31 -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=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:26:31 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 40891 invoked from network); 6 Oct 2006 15:26:25 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 6 Oct 2006 15:26:25 -0000 Received: (qmail 8078 invoked by alias); 6 Oct 2006 15:26:14 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10795 Received: (qmail 8068 invoked from network); 6 Oct 2006 15:26:13 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 6 Oct 2006 15:26:13 -0000 Received: (qmail 39272 invoked from network); 6 Oct 2006 15:26:13 -0000 Received: from a.mx.bigasterisk.com (HELO localhost) (66.80.49.27) by a.mx.sunsite.dk with SMTP; 6 Oct 2006 15:26:09 -0000 Received: from [10.1.0.229] (dash.local [10.1.0.229]) (authenticated bits=0) by localhost (8.13.5.20060308/8.13.5/Debian-3ubuntu1) with ESMTP id k96FPmQA015187; Fri, 6 Oct 2006 08:25:48 -0700 Message-ID: <4526757A.1070003@bigasterisk.com> Date: Fri, 06 Oct 2006 08:25:46 -0700 From: Drew Perttula User-Agent: Thunderbird 1.5.0.7 (X11/20060922) MIME-Version: 1.0 To: Chris Johnson CC: zsh-users@sunsite.dk Subject: Re: ZLE widget to run gdb on command line References: <20061006145222.GA32307@namib.cs.utk.edu> In-Reply-To: <20061006145222.GA32307@namib.cs.utk.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Chris Johnson wrote: > 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: > > gdb myprog arg1 arg2 arg3 > > But gdb doesn't accept this because it expects other unnamed arguments. > Treating the whole command as a single argument to gdb also fails: > > gdb "myprog arg1 arg2 arg3" > gdb --args myprog arg1 arg2 arg3 works on my version of gdb, at least.