summaryrefslogtreecommitdiffstats
path: root/src/build/simics/hb-simdebug.py
diff options
context:
space:
mode:
authorBill Hoffa <wghoffa@us.ibm.com>2018-01-30 11:47:51 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-01-30 18:01:58 -0500
commit82805770e03584fbe18df365600d5090b170d364 (patch)
treedca805d1ead918a65e317de2e6b9390183e1c166 /src/build/simics/hb-simdebug.py
parent7c679624bbb135ab6e7fd88c0281297af8fbdf8b (diff)
downloadtalos-hostboot-82805770e03584fbe18df365600d5090b170d364.tar.gz
talos-hostboot-82805770e03584fbe18df365600d5090b170d364.zip
Fix simulation get all registers command
- The name of the cpu simulation object changed Change-Id: Ibb1f556fdc612f635a930a1dd047c807f17f8462 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/52939 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/build/simics/hb-simdebug.py')
-rwxr-xr-xsrc/build/simics/hb-simdebug.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/build/simics/hb-simdebug.py b/src/build/simics/hb-simdebug.py
index f43877807..fc938bada 100755
--- a/src/build/simics/hb-simdebug.py
+++ b/src/build/simics/hb-simdebug.py
@@ -5,7 +5,7 @@
#
# OpenPOWER HostBoot Project
#
-# Contributors Listed Below - COPYRIGHT 2011,2017
+# Contributors Listed Below - COPYRIGHT 2011,2018
# [+] International Business Machines Corp.
#
#
@@ -239,7 +239,7 @@ def hb_get_objects_by_class(classname):
def hb_getallregs(regname):
proc_list=[]
- proc_list=hb_get_objects_by_class("ppc-power9-mambo-core")
+ proc_list=hb_get_objects_by_class("ppc_power9_mambo_core")
for proc in proc_list:
output = run_command("%s.read-reg %s"%(proc.name,regname))
print ">> %s : " %(proc.name) + "%x" %output
OpenPOWER on IntegriCloud