From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31948 invoked by alias); 21 Dec 2009 13:54:46 -0000 Mailing-List: contact archer-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: List-Id: Received: (qmail 31938 invoked by uid 22791); 21 Dec 2009 13:54:45 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Date: Mon, 21 Dec 2009 13:54:00 -0000 From: Daniel Jacobowitz To: Tom Tromey Cc: Paul Pluzhnikov , archer@sourceware.org Subject: Re: Initial psymtab replacement results Message-ID: <20091221135436.GB716@caradoc.them.org> References: <20091211235901.GA16889@caradoc.them.org> <20091214230947.GA31362@caradoc.them.org> <8ac60eac0912170838r39c6916cte5a54a458a859010@mail.gmail.com> <20091217165321.GA28783@caradoc.them.org> <8ac60eac0912170920w3a9e71ebr915bae8388248f54@mail.gmail.com> <20091217181613.GA1035@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-SW-Source: 2009-q4/txt/msg00125.txt.bz2 On Fri, Dec 18, 2009 at 04:58:23PM -0700, Tom Tromey wrote: > The problem I have with it is that it doesn't help the first time you > start gdb. And because the cache is invalidated whenever an objfile > changes, the part of your program you are hacking on will always look > like the first time. Are monolithic single objects still the norm? In e.g. the OpenOffice case, this is fine; most of the guts are in shared libraries and hopefully someone hacking on OO.o can rebuild just one library at a time. > I also plan to look into Jan's idea of using the shared library info to > limit searches by PC. This seems like it could help a case like ABRT, > which really just wants a stack trace and nothing else; in this case, we > could defer reading any debuginfo until it is requested, and then use > this change to pick exactly the objfile that matters. This seems like > an independent patch. Yes, it does, although it probably does best with the psymtab cleanups you've already got. Any interest in submitting those independently? It sounds like a nice framework for investigating alternate approaches. -- Daniel Jacobowitz CodeSourcery