diff options
author | Dan Crowell <dcrowell@us.ibm.com> | 2016-05-16 11:22:18 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2016-05-24 17:09:33 -0400 |
commit | 39c834621810eac50a7b34a94a90a840dcdb58d9 (patch) | |
tree | f215055b8565eebee4944aa5646925ad85336863 /src/kernel/terminate.C | |
parent | c518fff3c3a71c3a9944a4b2e8ca7ac776cd8eb1 (diff) | |
download | talos-hostboot-39c834621810eac50a7b34a94a90a840dcdb58d9.tar.gz talos-hostboot-39c834621810eac50a7b34a94a90a840dcdb58d9.zip |
Add simics breakpoint for exceptions
Created a new magic instruction handler that can be enabled via
environment variable to stop the simulation for Hostboot
exceptions. This is useful when we want to get a backtrace at
the failing spot without recompiling code or having to manually
insert breakpoints in simics directly.
Enable the function by setting HB_BREAK_ON_ERROR
The trigger call is MAGIC_BREAK_ON_ERROR
Change-Id: I17e008281d010e3f8c5e5817e5f30fd0ccb624d0
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24600
Tested-by: Jenkins Server
Tested-by: FSP CI Jenkins
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Reviewed-by: Marshall J. Wilks <mjwilks@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/kernel/terminate.C')
0 files changed, 0 insertions, 0 deletions