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 at redhat dot com>
- To: Eli Zaretskii <eliz at gnu dot org>
- Cc: Keith Seitz <keiths at redhat dot com>, gdb-patches at sourceware dot org
- Date: Mon, 16 Jan 2012 10:19:30 -0700
- Subject: Re: [RFA] [4/4] Remove libgdb API (gdb.h & doc)
- References: <4F108D23.5050803@redhat.com> <83d3amk7ws.fsf@gnu.org>
>>>>> "Eli" == Eli Zaretskii <eliz@gnu.org> writes:
Eli> I admit I don't really understand where all this is going. We are
Eli> not removing libgdb itself, are we?
No.
Eli> If we are not removing libgdb, but only gdb.h, then I have 2
Eli> questions:
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.
Tom