[Converted from Gnats 641] GDB's use of error() and warning() should be documented. error()/warning() are responses to user input (an object file is ``user input''). internal_error() / internal_warning() are responses to GDB detecting a [fatal] problem with its internals. error() / internal_error() are not recoverable. The operation is abandoned. warning() / internal_warning() are recoverable, execution continues. Hopefully GDB managed to take action sufficient to avoid creating an error() situtation. Release: unknown
From: Andrew Cagney <ac131313@ges.redhat.com> To: gdb-gnats@sources.redhat.com Cc: Subject: Re: gdb/641: innternal document error() vs warning() Date: Sun, 11 Aug 2002 16:07:28 -0400 Should also document complaint().
We aren't really doing internals docs anymore, and anyway I think this is all well-understood these days.