binutils-gdb/gdb/testsuite/gdb.go
Andreas Arnez 04ff1e612e GDB tests for Go language support: remove unnecessary first breakpoint
On s390x targets some of the Go test cases fail because the first
breakpoint happens to be at the same spot as the breakpoint at
main.main.  When such a test case tries to continue to the first
breakpoint, the program runs until the end instead, and the test fails
like this:

FAIL: gdb.go/handcall.exp: Going to first breakpoint (the program exited)

This patch removes all the handling related to the first breakpoint in
those cases.  After applying the patch, the tests run successfully on
s390x.

gdb/testsuite/ChangeLog:

	* gdb.go/handcall.exp: Remove all logic related to the first
	breakpoint and rely on go_runto_main instead.
	* gdb.go/strings.exp: Likewise.
	* gdb.go/unsafe.exp: Likewise.
	* gdb.go/hello.exp: Likewise.  Also rename the remaining
	breakpoint marker to "breakpoint 1".
	* gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
	* gdb.go/strings.go: Likewise.
	* gdb.go/unsafe.go: Likewise.
	* gdb.go/hello.go: Likewise.  Also remove the second occurrence of
	"set breakpoint 2 here" and rename the remaining breakpoint marker
	to "breakpoint 1".
2015-04-16 13:03:47 +02:00
..
Makefile.in
basic-types.exp
chan.exp
chan.go
handcall.exp GDB tests for Go language support: remove unnecessary first breakpoint 2015-04-16 13:03:47 +02:00
handcall.go GDB tests for Go language support: remove unnecessary first breakpoint 2015-04-16 13:03:47 +02:00
hello.exp GDB tests for Go language support: remove unnecessary first breakpoint 2015-04-16 13:03:47 +02:00
hello.go GDB tests for Go language support: remove unnecessary first breakpoint 2015-04-16 13:03:47 +02:00
integers.exp
integers.go
methods.exp
methods.go
package.exp
package1.go
package2.go
print.exp
strings.exp GDB tests for Go language support: remove unnecessary first breakpoint 2015-04-16 13:03:47 +02:00
strings.go GDB tests for Go language support: remove unnecessary first breakpoint 2015-04-16 13:03:47 +02:00
types.exp
types.go
unsafe.exp GDB tests for Go language support: remove unnecessary first breakpoint 2015-04-16 13:03:47 +02:00
unsafe.go GDB tests for Go language support: remove unnecessary first breakpoint 2015-04-16 13:03:47 +02:00