diff options
author | Mark Wenning <wenning@us.ibm.com> | 2012-06-11 17:33:08 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2012-07-02 10:29:50 -0500 |
commit | 77df8af885d0c832fde9bc98751f0260d4ce41fa (patch) | |
tree | 4f64cc99a639dd23e05a7c11f4053411d25d5e8c /src/build/vpo/hb-istep | |
parent | 0a4f947fda9001e55e7cc08817f9e6cab47ffd90 (diff) | |
download | talos-hostboot-77df8af885d0c832fde9bc98751f0260d4ce41fa.tar.gz talos-hostboot-77df8af885d0c832fde9bc98751f0260d4ce41fa.zip |
Fix hb-istep defects
SW146494 : P8 Hostboot:VPO:hb_istep host_attnlisten_proc gives usagea
SW146851 : P8 Hostboot:VPO:hb_istep sN fails to complete desired steps
Change-Id: I4e2c233307a5b6dca369bf93918fc4831074c0ee
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1213
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/build/vpo/hb-istep')
-rwxr-xr-x | src/build/vpo/hb-istep | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/build/vpo/hb-istep b/src/build/vpo/hb-istep index 01013b4ad..81b7a22ba 100755 --- a/src/build/vpo/hb-istep +++ b/src/build/vpo/hb-istep @@ -180,7 +180,7 @@ if ( ! -e "$hbSymsFile" ) { die "Can't find symbols file $hbSymsFile\n"; } if ( ! -e "$CSVfile" ) { die "Can't find isteplist file $hbSymsFile\n"; } -print STDOUT "Welcome to hb-istep 3.0 . \n"; +print STDOUT "Welcome to hb-istep 3.02 .\n"; ## exit if no args @@ -233,48 +233,48 @@ for ( my $i=0; $i <= $#Options; $i++ ) { $_ = $Options[$i]; - if ( m/\-{0,2}help/ ) + if ( m/^\-{0,2}help$/ ) { $opt_help = 1; $Options[$i] = ""; } - if ( m/\-{0,2}debug/ ) + if ( m/^\-{0,2}debug$/ ) { $opt_debug = 1; $Options[$i] = ""; } - if ( m/\-{0,2}list/ ) + if ( m/^\-{0,2}list$/ ) { $opt_list = 1; $Options[$i] = ""; } - if ( m/\-{0,2}istepmode/ ) + if ( m/^\-{0,2}istepmode$/ ) { $opt_istepmode = 1; $Options[$i] = ""; } - if ( m/\-{0,2}splessmode/ ) + if ( m/^\-{0,2}splessmode$/ ) { $opt_splessmode = 1; $Options[$i] = ""; } - if ( m/\-{0,2}fspmode/ ) + if ( m/^\-{0,2}fspmode$/ ) { $opt_fspmode = 1; $Options[$i] = ""; } - if ( m/\-{0,2}command/ ) + if ( m/^\-{0,2}command$/ ) { ## does nothing except eat the "[--]command" option $opt_command = 1; $Options[$i] = ""; } - if ( m/\-{0,2}resume/ ) + if ( m/^\-{0,2}resume$/ ) { $opt_resume = 1; $Options[$i] = ""; } - if ( m/\-{0,2}clear-trace/ ) + if ( m/^\-{0,2}clear-trace$/ ) { $opt_clear_trace = 1; $Options[$i] = ""; @@ -728,7 +728,7 @@ sub getSyncStatus( ) # Progress bar print STDOUT "."; - + # Feed simclocks runClocks(); @@ -743,7 +743,7 @@ sub getSyncStatus( ) print STDOUT "T/F"; system ("$hbToolsDir/hb-ContTrace --no-save-states --mute > /dev/null" ); system ("cat hb-ContTrace.output >> tracMERG"); - + # Need to start instructions after trace has been dumped out. VBU_Cacheline::P8_Ins_Start(); } |