mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-22 20:42:03 -08:00
Print a C backtrace in ecl_thread_internal_error
After the recent changes to the C backtrace interface,
_ecl_dump_c_backtrace() no longer needs a working lisp
environment, so we can safely call it here.
This commit is contained in:
parent
861e798cd3
commit
fd1affa7d0
1 changed files with 1 additions and 0 deletions
|
|
@ -71,6 +71,7 @@ ecl_thread_internal_error(const char *s)
|
|||
fprintf(stderr, " [%d: %s]\n", saved_errno,
|
||||
strerror(saved_errno));
|
||||
}
|
||||
_ecl_dump_c_backtrace();
|
||||
fprintf(stderr,
|
||||
"\nDid you forget to call `ecl_import_current_thread'?\n"
|
||||
"Exitting thread.\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue