gdb.go/methods.exp: Mark gdb_breakpoint calls as known failures.

Message ID 047d7bd9164edd052e051f421ddb@google.com
State New, archived
Headers

Commit Message

Doug Evans Sept. 8, 2015, 8:21 p.m. UTC
  Hi.

Marking these as known failures until they can be fixed.

2015-09-08  Doug Evans  <dje@google.com>

	PR go/18926
	* gdb.go/methods.exp: Mark gdb_breakpoint calls as known failures.

  gdb_test "cont" "Breakpoint .*:${bp_location2_regexp}.*" "Going to second  
breakpoint"
  

Patch

diff --git a/gdb/testsuite/gdb.go/methods.exp  
b/gdb/testsuite/gdb.go/methods.exp
index 643e29c..fa02c2b 100644
--- a/gdb/testsuite/gdb.go/methods.exp
+++ b/gdb/testsuite/gdb.go/methods.exp
@@ -36,14 +36,14 @@  if { [go_runto_main] < 0 } {
      return -1
  }

-if { [gdb_breakpoint ${bp_location1}] } {
-    pass "setting breakpoint 1"
-}
+setup_kfail "go/18926" "*-*-*"
+gdb_breakpoint ${bp_location1} message
+
  setup_xfail "*-*-*" ;# mangling issues IIRC
  gdb_test "cont" "Breakpoint .*:${bp_location1}.*" "Going to first  
breakpoint"

-if { [gdb_breakpoint ${bp_location2}] } {
-    pass "setting breakpoint 2"
-}
+setup_kfail "go/18926" "*-*-*"
+gdb_breakpoint ${bp_location2} message
+
  setup_xfail "*-*-*" ;# mangling issues IIRC