summaryrefslogtreecommitdiffstats
path: root/src/tools
diff options
context:
space:
mode:
authorspashabk-in <shakeebbk@in.ibm.com>2016-11-21 00:43:22 -0600
committerSachin Gupta <sgupta2m@in.ibm.com>2016-11-22 00:24:15 -0500
commit1f5d8da1131120bad452841435612c19afe4dae0 (patch)
treee524d9eb54b75a898b53260503e7431e5b49e1c0 /src/tools
parentf34cf9031a12eb736ca6e88ffb8253ea4bce9307 (diff)
downloadtalos-sbe-1f5d8da1131120bad452841435612c19afe4dae0.tar.gz
talos-sbe-1f5d8da1131120bad452841435612c19afe4dae0.zip
Replace SIM_run_alone with run_command in sbe-trace tool
SIM_run_alone command is run in a different context, which was causing issues if 'sbe-trace' itself is invoked through SIM_run_alone CQ:SW372118 Change-Id: I772a90158437ba74f8721e7767a9c9d9e42765ab Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32856 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'src/tools')
-rwxr-xr-xsrc/tools/debug/simics-debug-framework.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/debug/simics-debug-framework.py b/src/tools/debug/simics-debug-framework.py
index a5f7df67..c5966fa1 100755
--- a/src/tools/debug/simics-debug-framework.py
+++ b/src/tools/debug/simics-debug-framework.py
@@ -119,9 +119,9 @@ def collectTrace ( procNr ):
if ( rc ):
print "simics ERROR running %s: %d "%( cmd1, rc )
- SIM_run_alone( run_command, cmd2 )
- SIM_run_alone( run_command, cmd3 )
- SIM_run_alone( run_command, cmd4 )
+ run_command ( cmd2 )
+ run_command ( cmd3 )
+ run_command ( cmd4 )
# MAGIC_INSTRUCTION hap handler
# arg contains the integer parameter n passed to MAGIC_INSTRUCTION(n)
OpenPOWER on IntegriCloud