Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [dsdp-dd-dev] GDB/MI command enhancements

On Tue, Nov 20, 2007 at 01:25:13PM +1300, Nick Roberts wrote:
> (gdb) 
> -var-list-children var1
> ...
> time={wallclock="0.22846",user="0.17201",system="0.02000"}
> (gdb) 
> -var-list-children --all-values var2
> ...
> time={wallclock="0.27797",user="0.21201",system="0.01600"}
> So, in this case, most of the time appears to be taken creating the variable
> objects rather than storing their value.
> Using -var-evaluate-expression many times will require many transactions through
> a pty but I don't know how to compute that overhead.

A bigger problem is that you're using a native debugger.  Access to
the target memory is relatively fast.  For a lot of embedded targets,
access is much slower than native speeds; reading memory becomes the
dominant time delay.

Daniel Jacobowitz

Back to the top