This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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: [rfa] Revert the problematic free()


On Sat, Apr 05, 2003 at 09:36:58AM -0500, Andrew Cagney wrote:
> Hello,
> 
> The attached disables the free() that is causing GDB vs BFD vs STABS 
> memory corruption bugs.  It isn't that much of a disaster as it is 
> simply restoring the previous behavior.
> 
> ok?

For what it's worth, I think this patch should go in.  I have some
ideas about a proper long-term fix for this based on Ian's comments,
but it won't happen soon; and the bug is messing up GDB test results.

> 2003-04-05  Andrew Cagney  <cagney at redhat dot com>
> 
> 	* simple.c (bfd_simple_get_relocated_section_contents): Disable
> 	free that leads to GDB vs BFD memory corruption.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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