[rfa] Revert the problematic free()

Daniel Jacobowitz drow@mvista.com
Sat Apr 5 15:31:00 GMT 2003


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@redhat.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



More information about the Binutils mailing list