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]
Other format: [Raw text]

Re: Debugging a large program


On Tue, Oct 05, 2004 at 10:02:14AM -0400, Andrew Cagney wrote:
> This, unfortunatly, isn't true.  The "classic" user interaction:
> 	gdb ...
> 	run
> 	<segmentation fault>
> 	backtrace
> 	print variable
> involves very few symbols and addresses yet GDB is slurping all the 
> following:
> 
> - entire minsymtab - O(<nr minsyms>) at least
> 
> - simplified symtab a.k.a. partial-symtab - O(<nr syms>) at least
> 
> and then when the first symbol request occures:
> 
> - full symtab - O(<nr syms>) at least

No, that's not right.  O(<nr syms in the one relevant symtab>).

> - address information - O(<?>) (or is this done above?)

Yes, it is.

-- 
Daniel Jacobowitz


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