aboutsummaryrefslogtreecommitdiff
path: root/target/ppc/ppc-qmp-cmds.c
diff options
context:
space:
mode:
Diffstat (limited to 'target/ppc/ppc-qmp-cmds.c')
-rw-r--r--target/ppc/ppc-qmp-cmds.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/ppc/ppc-qmp-cmds.c b/target/ppc/ppc-qmp-cmds.c
index c0c137d9d7..ee0b99fce7 100644
--- a/target/ppc/ppc-qmp-cmds.c
+++ b/target/ppc/ppc-qmp-cmds.c
@@ -103,7 +103,11 @@ const MonitorDef monitor_defs[] = {
{ "xer", 0, &monitor_get_xer },
{ "msr", offsetof(CPUPPCState, msr) },
{ "tbu", 0, &monitor_get_tbu, },
+#if defined(TARGET_PPC64)
+ { "tb", 0, &monitor_get_tbl, },
+#else
{ "tbl", 0, &monitor_get_tbl, },
+#endif
{ NULL },
};