Re: gdb script performance

Daniel Jacobowitz
2006-10-05T13:32:41Z

On Thu, Oct 05, 2006 at 03:26:59PM +0200, Jean-Marc Saffroy wrote:
> >This discussion lead to the patch submitted here:
> >http://sources.redhat.com/ml/gdb-patches/2006-09/msg00088.html
>
> Great! The 12' script now runs in only 2'35". :-) I can't help thinking
> tt's still not blazingly fast, considering the underlying hardware, but
> it's a big step forward.

If you would like to see if further improvement is possible, you should
build a GDB with profiling enabled (--enable-profiling at configure
time), and use the maint set profile command to get a profile; then
post exact data from it.

> Well I hope it will make it in the next gdb release.

We do too; we're waiting on the paperwork.

--
Daniel Jacobowitz
CodeSourcery