This is the mail archive of the gdb-patches@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: [RFA] delete BLOCK_SHOULD_SORT


On Thu, Sep 19, 2002 at 01:04:10AM -0700, Paul N. Hilfinger wrote:

Paul, David,

I believe that the right thing to do with this code is actually to
tranform it into calls to search_symbols and let that handle the
details.  We have a regexp symbol matching interface... and it's not
significantly slower, given that almost no symbol tables are sorted now
anyway.
Yes.

If someone comes forward with evidence demonstrating that the lookup is a bottle neck, then the symbol database internals can be adjusted to address the performance problem. I don't think core GDB (ignoring !@*$(&*#@&$* stabs) should be worried about the table sort order.

David,

Watch out for things like info symbols. From memory their behavior is affected by this - something DanielJ and ElenaZ hit problems with when playing with this before.

Andrew



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