Re: [patch] Speed up find_pc_section

Tristan Gingold
2009-09-11T07:44:28Z

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.