http://sourceware.org/bugzilla/show_bug.cgi?id=11983

--- Comment #11 from Nick Clifton <nickc at redhat dot com> ---
Hi Tom,

> On further reflection I think the patch as applied will
> cause gdb crashes.  Due to the historical oddity of how
> the BFD's filename was handled, gdb chose to go its own
> route and reallocate the filename on the BFD's objalloc.

Hang on - are you saying that GDB alters the contents of the filename 
field inside the BFD structure ?  If so, then surely the correct thing 
to do now is to remove that piece of code from GDB.


> Also IIRC from when I looked into this, some of the binutils
> also play games with the filename.  I think a fuller audit
> is needed.

I ran as many checks as I could and visually inspected all of the code. 
  I think that I found everywhere that the filename is touched.  At 
least inside the binutils that is.

Cheers
   Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to