Update PC when simulate break instruction.
authorDenis Chertykov <chertykov@gmail.com>
Tue, 19 Jul 2016 06:47:23 +0000 (09:47 +0300)
committerDenis Chertykov <chertykov@gmail.com>
Tue, 19 Jul 2016 06:47:23 +0000 (09:47 +0300)
commit59f48f5a45d2300da401f1fccab31ba436217469
treeea97cd072d3453b013e1baf3b724a5271dd22368
parenta4717ffb7bbc1415275c6c51029729c8b5de9c12
Update PC when simulate break instruction.

PR target/ 19401
* avr/interp.c (step_once): Pass break instruction address to
sim_engine_halt function which writes that to PC. Remove code that
follows that function call as it is unreachable.
sim/ChangeLog
sim/avr/interp.c