Andrew Cagney wrote: >> Hi, >> >> Attached is a patch to teach the h8300 simulator to abort when abort >> is called. Without this, I get spurious XPASS when testing gcc. >> Although the patched simulator works, my gut feeling is telling me >> that there should be a better way to do this. Any thought? > > > Yes. Generally speaking, the simulators should not call abort. Instead > they should, some how, stop the simulation and return to the caller. > That statement looks to be trying to do just that. I think MichaelS > recently changed sim/common to, for the h8300 do a correct exit. Yeah, and I didn't think about the stop signal, but it seems like we're ready to do that too. Kazu, try this, and with your approval I'll check it in.