Christopher,
Nice call. Changing the .align let's the exception report
and exit the sim properly ("Terminated by exception.") See below.
Now to figure out how to redirect the exception to a signal handler or
debugger so I can figure out where it came from. Can I hook up
rdimon/FM to gdb w/ semi
Still having the issue of FM/semi-hosting not catching seg-faults using
2013.06. With "aem-ve.specs", a fault seems to call main() repeatedly.
With "dimon.specs", FM hangs. Any ideas how to properly compile/deal with
faults in semi-hosting mode?
thanks,
Rory
=== hello.c ===
#include
int
mai
I got an app to compile fine for v8 FM with gcc, but I notice that
seg-faults hang the simulator. Using raise() properly exits FM,
but I can't seem to trap the seg-fault with signal() or do anything
intelligent to know about the seg-fault. Normal execution works well.
int
main(int argc, ch