This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [COMMIT PATCH 2/2] Move savestring to common/common-utils.c, make gdbserver use it.
On 02/14/2013 06:09 PM, Tom Tromey wrote:
> Tom> I'm tempted to change everything to use libiberty's xstrndup.
>
> Pedro> gdbserver doesn't use libiberty though.
>
> Yeah, I know. It uses little bits of it though. Why not all of it?
> I guess to support cross builds of just gdbserver?
Yeah... It'd be an easier sell if libiberty wasn't such a
kitchen sink. I know that parts of libiberty would be problematic
for the Windows CE (I know, it's rotten by now), not sure about
other ports.
--
Pedro Alves