[patch] Fix ELF stale reference

Tom Tromey tromey@redhat.com
Thu Oct 14 17:46:00 GMT 2010


>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:

Jan> OK to check-in?  Or some bfd/ API improvement should be made?

I think this is probably the cleanest fix.

However, libbfd.h does say right at the top that it shouldn't be used.

I guess we could ask for advice on the binutils list.
Perhaps we could make bfd_alloc a public function.
Or maybe it is ok to bend this rule.

Tom



More information about the Gdb-patches mailing list