This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: wishlist for gdb ....
- To: Vardhan Varma <vardhan at cadence dot com>
- Subject: Re: wishlist for gdb ....
- From: Daniel Berlin <dberlin at redhat dot com>
- Date: 01 Oct 2000 11:15:24 -0400
- Cc: gdb at sources dot redhat dot com
- References: <14800.3292.153130.341475@gargle.gargle.HOWL>
Vardhan Varma <vardhan@cadence.com> writes:
> for last year, i've been working with Sun's dbx.
> I found the intergration with ksh a very nice idea.
> (there were a few problems too, but all in all, it _is_
> a nice idea ... )
>
> Here are some magic possible, by ksh integration ,
> i would like to know how to achieve similar things in
> gdb.
>
> 1. (dbx) $(funcs .*foo.*bar.* | sed 's/^/stop in/')
> this will set break points in all
> functions matching .*foo.*bar !!!
> (okay not exactly this, but something similar (-; )
"rb .*foo.*bar"
rb/rbreak will set breakpoints using a regular expression.
>
> 2. how to grep help's output ??
> help show | grep arg ?????
> or even setenv PAGER=xless displays help in seperate
> xless window.
why?