This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: FYI: strdup() -> xstrdup()



> 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();
}

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]