This is the mail archive of the gdb-patches@sourceware.org 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]
Other format: [Raw text]

Re: [RFA] [4/4] Remove libgdb API (gdb.h & doc)


>>>>> "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


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