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]

[COMMITTED PATCH 0/6] Remove fatal from gdbserver


Gary Benson wrote:
> After the recent discussions regarding moving fatal to
> common/errors.h I decided to have a look at how fatal is used in
> gdbserver.  It turns out most uses report programmer errors, and the
> few remaining uses can be replaced with some other error handling
> function.
> 
> This series removes fatal from gdbserver and replaces all calls.
> The first patch is the biggest and the most mechanical: most things
> in here are I think fairly straightforward.  The next four patches
> cover trickier cases, and the final patch removes the function
> itself.
> 
> Aside from the benefit of a simpler error system (ie less classes of
> error to decide between) the removal of fatal simplifies factoring
> shared code out of GDB and gdbserver and into the common directories
> (common, nat and target).

Thanks for reviewing this Pedro.  I've made the changes you suggested
and pushed this.

Cheers,
Gary

-- 
http://gbenson.net/


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