This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 2/4] dwarf2_physname
On Mon, Nov 23, 2009 at 11:05:00AM -0700, Tom Tromey wrote:
> >>>>> "Frank" == Frank Ch Eigler <fche@redhat.com> writes:
>
> >> [...] This work won't help with existing code, though, because it
> >> relies on indices we don't have access to (even if we use the
> >> standard DWARF ones, those are unusable with older versions of
> >> GCC). [...]
>
> Frank> Could gdb generate those indices for executables without them,
> Frank> and save them someplace (perhaps even within the executable)?
>
> It would be possible. I'm not sure I would want gdb to do this, though.
> A separate program to do it seems more appropriate.
I think both options have value - this seems like a good evolution of
the previous mmalloc approach to speeding up startup. Stick a cache
in $HOME...
--
Daniel Jacobowitz
CodeSourcery