This is the mail archive of the gdb-patches@sourceware.org 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]
Other format: [Raw text]

Re: [RFA/commit/dwarf] Create partial symbols for nested subprograms


On Thu, Sep 11, 2008 at 02:52:24PM -0700, Joel Brobecker wrote:
> > I usually use 'gdb -batch foo.exe' to time reading partial symbols,
> > and 'gdb -readnow -batch foo.exe' to time full symbols (only partial
> > symbols are at issue here).
> 
> And use the  "time" command to measure the time elapsed? Somehow,
> I got reported user times and total times that fluctuated a little
> more than when I used the --statistics.

Yes, I have a script to time things repeatedly and give me
average/stddev.

> Sure! Is that what you had in mind?
> 
> 2008-09-11  Joel Brobecker  <brobecker@adacore.com>
> 
>         * dwarf2read.c (add_partial_subprogram): New procedure.
>         (scan_partial_symbols): Use it.
>         (load_partial_dies): Read in children of subprogram and lexical
>         blocks for Ada compilation units.
> 
> Tested on x86-linux, no regression.

Yes, this is OK.  I agree it's the right compromise, at least for the
moment.

-- 
Daniel Jacobowitz
CodeSourcery


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