This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] [4/4] Remove libgdb API (gdb.h & doc)
> From: Tom Tromey <tromey@redhat.com>
> Cc: Keith Seitz <keiths@redhat.com>, gdb-patches@sourceware.org
> Date: Mon, 16 Jan 2012 10:19:30 -0700
>
> Eli> . Why does it make sense to remove gdb.h, if the library is going to
> Eli> stay?
>
> gdb.h declares a few wrappers that follow a different exception
> convention from the rest of gdb. However, there aren't enough of these
> wrappers to actually interface any client program with the rest of gdb;
> clients in practice will have to use the other exception handling
> mechanism. So, at present this stuff serves to obfuscate more than
> help. Also, I don't think anybody is going to, or should, work on
> extending this interface.
>
> So, removing this is a cleanup. It helps make gdb more regular.
Thanks for the explanations.
In that case, I think the change to the manual went one notch too far:
it should only remove references to gdb.h, but not to libgdb itself.
IOW, rephrase the text that references gdb.h and libgdb such that it
references only the latter.
TIA