base: Output link to common errors page
This change adds a link to the common errors page that outputs whenever a fatal signal is raised, showing when the program aborts or segfaults. Change-Id: I88420a594423570af670b460cfce7c03c4208120 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/70978 Reviewed-by: Jason Lowe-Power <power.jg@gmail.com> Maintainer: Daniel Carvalho <odanrc@yahoo.com.br> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
This commit is contained in:
@@ -103,6 +103,8 @@ raiseFatalSignal(int signo)
|
||||
// The signal handler should have been reset and unmasked (it was
|
||||
// registered with SA_RESETHAND | SA_NODEFER), just raise the
|
||||
// signal again to invoke the default handler.
|
||||
STATIC_ERR("For more info on how to address this issue, please visit "
|
||||
"https://www.gem5.org/documentation/general_docs/common-errors/ \n\n");
|
||||
pthread_kill(pthread_self(), signo);
|
||||
|
||||
// Something is really wrong if the process is alive at this
|
||||
|
||||
Reference in New Issue
Block a user