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: [7.0] PR/9723: gdb breakpoints silently fail on PIE binaries


On Fri, Jul 24, 2009 at 11:12:41PM -0300, Thiago Jung Bauermann wrote:
> Now I have this issue, I'd like to ask people's opinion about it: by design 
> (or defect?) the BFD library is a PITA to access the program header. I feel 
> very tempted to use elf32.h and elf64.h directly in order to check that field. 
> My only worry is that a cross-debugging session with a win32 gdb and a linux 
> remote target would not be possible, unless windows includes such sysv elf 
> headers too (perhaps it does?).

elfread.c:elf_symfile_segments.  It's not much of a pain really?

-- 
Daniel Jacobowitz
CodeSourcery


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