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

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