This is the mail archive of the gdb-patches@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: [RFC/ia64-linux] pb with shared libraries when attaching to process


> On Fri, Apr 25, 2008 at 10:59:52AM -0700, Joel Brobecker wrote:
> > Eric Botcazou suggested that an address pointing to the .data section
> > should never be some code because the .data section is not executable;
> > So we could simply check the flags of our section, and if it doesn't
> > have the CODE flag set, then assume it's a function descriptor.
> 
> I can imagine this breaking but it would require use of mprotect.
> Your patch looks good to me.

Thanks. I just checked the patch in.

-- 
Joel


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