This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ANNOUNCEMENT] GDB 7.0 release process created


> The patch (I believe) actually solves a problem, not just suppresses
> complaints: without it find_pc_section may find a "random" .text
> section from foo.o, and things go downhill from there. With the patch,
> foo.o is not inserted into the section map, so find_pc_section returns
> correct .text section (from a.exe or foo.dylib), and everything else
> works.

My understand was that the sections from the .o objfiles was already
filtered out from the section map (after emitting the complaint).
So the debugger should still find the correct section.

-- 
Joel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]