Merge changes from topic "sb/exception-dump"

* changes:
  Dump some registers when hitting an unexpected exception
  Improve readability of TFTF exceptions code