This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Fix ELF stale reference
- From: Tom Tromey <tromey at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org, Doug Evans <dje at google dot com>
- Date: Thu, 14 Oct 2010 11:46:13 -0600
- Subject: Re: [patch] Fix ELF stale reference
- References: <20100908185837.GA24606@host1.dyn.jankratochvil.net> <m3wrqwrplv.fsf@fleche.redhat.com> <20100909090511.GA937@host1.dyn.jankratochvil.net> <AANLkTikm4c_dPTiqA8hsw8AkNbpKbyQNxC3qgRJi98Au@mail.gmail.com> <20100909145615.GA5771@host1.dyn.jankratochvil.net> <20101014160653.GA24333@host1.dyn.jankratochvil.net>
>>>>> "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