Re: 2013.06 issues with semi-hosting on Foundation Model w/ gcc

2013-06-22 Thread rorycollins
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

Re: 2013.06 issues with semi-hosting on Foundation Model w/ gcc

2013-06-22 Thread Peter Maydell
On 21 June 2013 22:21, wrote: > 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. Just a minor note, but the model is almost certainly not hanging. It's much more likel

Re: 2013.06 issues with semi-hosting on Foundation Model w/ gcc

2013-06-21 Thread Christopher Covington
Hi Rory, On 06/21/2013 05:21 PM, rorycoll...@hushmail.com wrote: > 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

2013.06 issues with semi-hosting on Foundation Model w/ gcc

2013-06-21 Thread rorycollins
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