> My concern about doing this is that there could be third party code > (ui goo, simulators, target i/o libraries, etc.) that may be linked > with GDB that uses strdup() directly. strdup() { return xstrdup(); }