add an interactive "pc" command
authorMike Frysinger <vapier@gentoo.org>
Fri, 5 Jun 2015 13:13:04 +0000 (21:13 +0800)
committerMike Frysinger <vapier@gentoo.org>
Fri, 5 Jun 2015 13:13:04 +0000 (21:13 +0800)
commit74225c6f45ae5e79c03a73012fdfb64791d24748
tree342159beabdb9bbf32b027985ef2f0c172a75fd7
parent89be91cec3677f3f1143972de7ca85e2dc33dbff
add an interactive "pc" command

This lets you show the current pc quickly.  Sometimes when displaying
different state you can lose track of what the pc was.  Add a simple
command that plumbs in the existing functions to the user interface.
riscv/interactive.cc
riscv/sim.h