Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: ZLE widget to run gdb on command line
- X-seq: zsh-users 10796
- From: Chris Johnson <cjohnson@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: ZLE widget to run gdb on command line
- Date: Fri, 6 Oct 2006 11:36:37 -0400
- In-reply-to: <20061006152343.GA30653@DervishD>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20061006145222.GA32307@xxxxxxxxxxxxxxxx> <20061006152343.GA30653@DervishD>
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@xxxxxxxxxx
http://www.cs.utk.edu/~cjohnson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author