This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: use MIPS NewABI register names when disassembling NewABI code
On Wed, Apr 09, 2003 at 12:45:28AM -0300, Alexandre Oliva wrote:
> + /* It would be nice if we could bfd_release the previous
> + symbol, but we'd need a pointer to its bfd then. */
> + symbol = bfd_make_empty_symbol (info.abfd);
I'd rather lose that comment, lest someone be tempted to save a bfd
pointer in the right place to let us call bfd_release here. Remember,
bfd_release frees its argument and all more recent allocations. Hardly
wise in this context...
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer