Blame SOURCES/gdb-rhbz1480496-power-atomic-step-3of5.patch

2c2fa1
commit 98d1b8dcd84bb39ba5d0731162f241890d4ce5f5
2c2fa1
Author: Anton Blanchard <anton@samba.org>
2c2fa1
Date:   Mon Mar 31 13:32:07 2014 +1100
2c2fa1
2c2fa1
    gdb.arch/ppc64-atomic-inst.exp: Improve error handling.
2c2fa1
    
2c2fa1
    gdb/testsuite/
2c2fa1
    2014-04-01  Anton Blanchard  <anton@samba.org>
2c2fa1
    
2c2fa1
            * gdb.arch/ppc64-atomic-inst.exp: Use untested.  Make test
2c2fa1
            messages unique.
2c2fa1
2c2fa1
### a/gdb/testsuite/ChangeLog
2c2fa1
### b/gdb/testsuite/ChangeLog
2c2fa1
## -1,5 +1,10 @@
2c2fa1
 2014-04-01  Anton Blanchard  <anton@samba.org>
2c2fa1
 
2c2fa1
+	* gdb.arch/ppc64-atomic-inst.exp: Use untested.  Make test
2c2fa1
+	messages unique.
2c2fa1
+
2c2fa1
+2014-04-01  Anton Blanchard  <anton@samba.org>
2c2fa1
+
2c2fa1
 	* gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
2c2fa1
 	prepare_for_testing.
2c2fa1
 
2c2fa1
--- a/gdb/testsuite/gdb.arch/ppc64-atomic-inst.exp
2c2fa1
+++ b/gdb/testsuite/gdb.arch/ppc64-atomic-inst.exp
2c2fa1
@@ -33,26 +33,26 @@ if { [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile} {debug quiet}]
2c2fa1
 }
2c2fa1
 
2c2fa1
 if ![runto_main] then {
2c2fa1
-    perror "Couldn't run to breakpoint"
2c2fa1
-    continue
2c2fa1
+    untested "could not run to main"
2c2fa1
+    return -1
2c2fa1
 }
2c2fa1
 
2c2fa1
 set bp1 [gdb_get_line_number "lwarx"]
2c2fa1
 gdb_breakpoint "$bp1" "Breakpoint $decimal at $hex" \
2c2fa1
-  "Set the breakpoint at the start of the sequence"
2c2fa1
+  "Set the breakpoint at the start of the lwarx/stwcx sequence"
2c2fa1
 
2c2fa1
 set bp2 [gdb_get_line_number "ldarx"]
2c2fa1
 gdb_breakpoint "$bp2" "Breakpoint $decimal at $hex" \
2c2fa1
-  "Set the breakpoint at the start of the sequence"
2c2fa1
+  "Set the breakpoint at the start of the ldarx/stdcx sequence"
2c2fa1
 
2c2fa1
 gdb_test continue "Continuing.*Breakpoint $decimal.*" \
2c2fa1
-  "Continue until breakpoint"
2c2fa1
+  "Continue until lwarx/stwcx start breakpoint"
2c2fa1
 
2c2fa1
 gdb_test nexti "bne.*1b" \
2c2fa1
   "Step through the lwarx/stwcx sequence"
2c2fa1
 
2c2fa1
 gdb_test continue "Continuing.*Breakpoint $decimal.*" \
2c2fa1
-  "Continue until breakpoint"
2c2fa1
+  "Continue until ldarx/stdcx start breakpoint"
2c2fa1
 
2c2fa1
 gdb_test nexti "bne.*1b" \
2c2fa1
-  "Step through the lwarx/stwcx sequence"
2c2fa1
+  "Step through the ldarx/stdcx sequence"