open-power / pdbg

PowerPC FSI Debugger
Apache License 2.0
17 stars 39 forks source link

Error handling #32

Open apopple opened 6 years ago

apopple commented 6 years ago

Currently we don't handle errors at all well. This is partly by design as it error handling was left as a TODO item however it would be good problem to solve.

Specifically how to pass errors in a somewhat generic way and have all the appropriate clean-up code called if required (eg. PIB resets, RAM disable, etc.)