GNU Development Chain for 68HC11/68HC12 - Bugs: bug #2965, WAI operation is broken in...
You are not allowed to post comments on this tracker with your current authentication level.
bug #2965: WAI operation is broken in simulator
Submitter: | None | ||
Submitted: | Thu 27 Mar 2003 08:05:41 PM UTC | ||
Category: | gdb | Severity: | 3 - Normal |
Item Group: | sw-bug | Status: | None |
Privacy: | Public | Assigned to: | ciceron |
Open/Closed: | Open |
Thu 27 Mar 2003 08:48:35 PM UTC, comment #1: |
Stephane Carrez <ciceron> |
Thu 27 Mar 2003 08:05:41 PM UTC, original submission:
when issuing a WAI instruction _asm_ __volatile__ ("wai") the simulator simply terminates execution. It should enter a wait state. Without this operation functioning correctly it is impossible to simulate a low power mode on the hc11 while waiting for an interrupt to occur.
|
Anonymous |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follows 1 latest change.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2003-03-27 | ciceron | Assigned to | None | None |
Powered by Savane 3.13-f8d8.
Corresponding source code
I agree. But the 'wai'/exit feature is important for
proper use of the simulator (by gcc/gdb testsuites and also
to be able to run/test a program without having it to
hang; ie, some example).
The 'wai' current implementation only pushes all the registers. It is effective when an interrupt vector table
is defined. The pending interrupts are not waited thus
providing some broken behavior.
I'll try to fix that as soon as I've some time.