mirror of https://github.com/contiki-ng/mspsim
minor fixe to DebugUI - register update while single stepping
git-svn-id: https://mspsim.svn.sourceforge.net/svnroot/mspsim/mspsim@69 23d1a52b-0c3c-0410-b72d-8f29ab48fe35
This commit is contained in:
parent
4841e5d349
commit
d985159a1f
|
|
@ -99,6 +99,7 @@ public class ControlUI extends JPanel implements ActionListener {
|
|||
stepAction = new AbstractAction("Single Step") {
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
ControlUI.this.cpu.step();
|
||||
dui.updateRegs();
|
||||
dui.repaint();
|
||||
if (elfData != null && sourceViewer != null
|
||||
&& sourceViewer.isVisible()) {
|
||||
|
|
|
|||
|
|
@ -98,6 +98,7 @@ public class DebugUI extends JPanel {
|
|||
regsLabel[i].setText("$" + Utils.hex16(cpu.reg[i]));
|
||||
}
|
||||
}
|
||||
repaint();
|
||||
}
|
||||
|
||||
private class DbgListModel extends AbstractListModel {
|
||||
|
|
|
|||
Loading…
Reference in New Issue