This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Speed up find_pc_section
- From: Tristan Gingold <gingold at adacore dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches ml <gdb-patches at sourceware dot org>
- Date: Fri, 11 Sep 2009 09:44:02 +0200
- Subject: Re: [patch] Speed up find_pc_section
- References: <8ac60eac0908201340k6b759eb5o9bb73c8f473d8785@mail.gmail.com> <200908211130.n7LBUCJc011108@d12av02.megacenter.de.ibm.com> <8ac60eac0908231548x135edf2doa04fa59a49455bcd@mail.gmail.com> <8ac60eac0908260020l4200cf84v2686a76b5858d13@mail.gmail.com> <20090909055824.GB11738@adacore.com> <A2AD6C8C-A00C-4E63-89C6-FBF3423A11E8@adacore.com> <20090909150429.GA20694@adacore.com>
On Sep 9, 2009, at 5:04 PM, Joel Brobecker wrote:
What is the correct way to load just the debugging info ? These
object files are loaded using 'symbol_file_add_from_bfd' and I
thought
it was the only way.
I am not sure yet; I don't even know if there is a way. How do we do
it
in case of .gnu_debug_link?
I think we almost do the same. But .gnu_debug_link allows only one
file.
symbol_file_add_from_bfd might be the only
way right now, but it does cause GDB to load too much, right?
(symbol table,
sections, etc). (I was wondering out loud more than anything)
I plan to rework on this to fix severals issues.
Tristan.