From 1f5d8da1131120bad452841435612c19afe4dae0 Mon Sep 17 00:00:00 2001 From: spashabk-in Date: Mon, 21 Nov 2016 00:43:22 -0600 Subject: 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 Reviewed-by: Sachin Gupta --- src/tools/debug/simics-debug-framework.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/tools') 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) -- cgit v1.2.1