This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Speed up find_pc_section
On Fri, Sep 11, 2009 at 1:39 AM, Tristan Gingold <gingold@adacore.com> wrote:
>> It sounds to me as if you'd want to pick up just the debug bits from
>> *.o, without turning them into full-blown objfiles.
>
> Right, but why not doing this also for separate debuginfo ?
I can't think of a reason, though the patch to do so might get large.
Looks like the separate debuginfo support was added here:
2003-01-23 Alexander Larsson <alexl@redhat.com>
Jim Blandy <jimb@redhat.com>
Add support for executables whose debug info has been separated
out into a separate file, leaving only a link behind.
* objfiles.h (struct objfile): New fields: separate_debug_objfile
and separate_debug_objfile_backlink.
Perhaps Jim could comment on the merits of creating a separate objfile
for the debuginfo file.
Thanks,
--
Paul Pluzhnikov