Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: ZLE widget to run gdb on command line



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