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] Remove wrapper.[ch]


>>>>> "Keith" == Keith Seitz <keiths@redhat.com> writes:

Keith> libgdb is history. The introduction of TRY_CATCH is now the standard
Keith> way to do these sorts of tasks. There seems little point to support
Keith> yet another ancient/nearly unused API to gdb's internals.

I agree.  This patch is ok.

You might want to look at removing gdb_rc entirely.  There are only a
few more uses; and it seems pointless to me to have a second generic,
high-level way to deal with error cases; exceptions are enough for this.
(I don't discount the use of having error returns rather than exceptions
for specific APIs.)  You could then perhaps remove gdb.h as well.

Tom


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