This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH][newbie] Make gdb accept -feliminate-dwarf2-dups stuff
r6144 <r6k@sohu.com>:
> > > +#include <search.h>
> > Neat, I hadn't seen this before...
> It would be great if someday application software such as gcc and gdb
> can use Glib... but maybe Glib isn't *that* portable, yet.
<search.h> comes from System V (SVID1). it's not in POSIX-2 or
ISO C, but it's mandatory in UNIX95 and UNIX98. it's probably
everywhere by now. if not, it should be easy to put it into
libiberty.
but I see libiberty already has a splay tree implementation. it
might be better to use that instead.
--