This page was produced by an automated import process, and may have formatting errors; feel free to fix.
Internal Error Recovery
During its execution, GDB can encounter two types of errors. User errors and internal errors. User errors include not only a user entering an incorrect command but also problems arising from corrupt object files and system errors when interacting with the target. Internal errors include situations where GDB has detected, at run time, a corrupt or erroneous situation.
When reporting an internal error, GDB uses internal_error and gdb_assert.
GDB must not call abort or assert.
Pragmatics: There is no internal_warning function. Either the code detected a user error, recovered from it and issued a warning or the code failed to correctly recover from the user error and issued an internal_error.