This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: wishlist for gdb ....


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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]