This is the mail archive of the gdb-prs@sources.redhat.com 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]

gdb/641: innternal document error() vs warning()


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


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