This is the mail archive of the sid@sourceware.org mailing list for the SID project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem Halting Execution


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]