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: Joel Brobecker <brobecker at adacore dot com>
- To: Tristan Gingold <gingold at adacore dot com>
- Cc: gdb-patches ml <gdb-patches at sourceware dot org>
- Date: Wed, 9 Sep 2009 08:04:29 -0700
- 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>
> 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? 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)
--
Joel