Re: Problem Halting Execution
Joseph Altmaier <[email protected]> Fri, 28 May 2010 11:03:37 -0500
| Newsgroups | gmane.comp.emulators.sid.devel |
|---|---|
| Message-ID | <[email protected]> |
I'm trying to hand control to GDB. I have looked at other ports and I have not seen where they do this, but I must have missed something. Joseph On Fri, May 28, 2010 at 10:58 AM, Frank Ch. Eigler <[email protected]> wrote: > Hi - > >> I'm writing a SID port, and I can't get it to halt properly. > > What kind of halt do you want exactly? A simulator termination? > Handing of control to gdb? > >> What is the functionality of yield()?� It does not seem to stop >> instruction flow. > > It should end the step_insn() loop soon and return. > >> When yield() is called step_insns() will return after the break at >> the end of the loop but then it gets called again. [...] > > Yes, unless told otherwise, the scheduler that's driving the cpu > instruction steps will signal again to continue running. > > - FChE >