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? Tom