summaryrefslogtreecommitdiffstats
path: root/src/build/debug/simics-debug-framework.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/build/debug/simics-debug-framework.py')
-rwxr-xr-xsrc/build/debug/simics-debug-framework.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/build/debug/simics-debug-framework.py b/src/build/debug/simics-debug-framework.py
index 8abf60a3d..bda3bb6c0 100755
--- a/src/build/debug/simics-debug-framework.py
+++ b/src/build/debug/simics-debug-framework.py
@@ -353,7 +353,8 @@ def hexDumpToNumber(hexlist):
# Fetch the current HRMOR value.
def getHRMOR():
- runStr = "(system_cmp0.cpu0_0_04_0).read-reg HRMOR"
+ # Note: will default to using the currently selected cpu
+ runStr = "($hb_cpu).read-reg HRMOR"
( result, out ) = quiet_run_command( runStr, output_modes.regular )
return result
OpenPOWER on IntegriCloud