This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 2/3] Import vsnprintf from libiberty if not available.
On Wed, 23 Jun 2010, Joel Brobecker wrote:
> The long-term goal in this area is to start using gnulib instead of
> libiberty, so I will look at that in the short future. But in the
As a general principle, gnulib and libiberty serve similar purposes and I
don't believe the GNU Project needs two different libraries in this area
(furthermore, both gnulib and libiberty import many files from glibc,
though libiberty often has accumulated many local changes to these files).
In practice I expect it would be a lot of work to convert libiberty-using
software to gnulib, or to make libiberty import most of its files
unchanged from gnulib and so be more of a wrapper around gnulib, and the
benefits would be limited - but certainly it seems a good idea for more
self-contained software such as gdbserver.
--
Joseph S. Myers
joseph@codesourcery.com