This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
gdb/641: innternal document error() vs warning()
- From: ac131313 at redhat dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 11 Aug 2002 19:12:26 -0000
- Subject: gdb/641: innternal document error() vs warning()
- Reply-to: ac131313 at redhat dot com
>Number: 641
>Category: gdb
>Synopsis: innternal document error() vs warning()
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sun Aug 11 12:18:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: ac131313@redhat.com
>Release: unknown-1.0
>Organization:
>Environment:
>Description:
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.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: