[PATCH 1/8] Rename read_unsigned_leb128 to gdb_read_unsigned_leb128

Pedro Alves palves@redhat.com
Fri Feb 17 01:28:00 GMT 2017


On 02/16/2017 10:54 PM, Pedro Alves wrote:

> Actually, I think visibility wouldn't work given bfd is linked
> statically.  And C++ namespaces are out of question obviously
> given bfd is written in C.  That leaves avoiding namespace
> collision by renaming something, but I think that given
> that it's bfd that is a library, that it should be bfd
> that should have its internal-with-external-linkage symbols
> renamed, giving them a "_bfd_" prefix, as other internal
> symbols have.  I quickly hacked up a mini-series to rename these
> plus a few others I noticed by playing with nm + grep.  I'll
> post it to binutils@ in a bit.

FYI, this is now done, and merged to master:
  https://sourceware.org/ml/binutils/2017-02/msg00165.html

Thanks,
Pedro Alves



More information about the Gdb-patches mailing list