update bug numbers (GNATS -> Bugzilla) in a few signal related tests
This makes it easier to find the bugs in Bugzilla. gdb/testsuite/ 2014-10-28 Pedro Alves <palves@redhat.com> * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers instead of GNATS numbers. * gdb.base/sigbpt.exp: Likewise. * gdb.base/siginfo.exp: Likewise. * gdb.base/sigstep.exp: Likewise.
This commit is contained in:
parent
7d1a114c44
commit
a5b6e449e3
|
@ -1,3 +1,11 @@
|
|||
2014-10-28 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
|
||||
instead of GNATS numbers.
|
||||
* gdb.base/sigbpt.exp: Likewise.
|
||||
* gdb.base/siginfo.exp: Likewise.
|
||||
* gdb.base/sigstep.exp: Likewise.
|
||||
|
||||
2014-10-27 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* gdb.base/sigstep.c (dummy): New global.
|
||||
|
|
|
@ -74,8 +74,8 @@ proc finish_test { pattern msg } {
|
|||
# Some platforms use a special read-only page for signal
|
||||
# trampolines. We can't set a breakpoint there, and we
|
||||
# don't gracefully fall back to single-stepping.
|
||||
setup_kfail gdb/1736 "i?86-*-linux*"
|
||||
setup_kfail gdb/1736 "*-*-openbsd*"
|
||||
setup_kfail gdb/8841 "i?86-*-linux*"
|
||||
setup_kfail gdb/8841 "*-*-openbsd*"
|
||||
fail "$msg (could not set breakpoint)"
|
||||
}
|
||||
-re "$pattern.*${gdb_prompt} $" {
|
||||
|
|
|
@ -156,7 +156,7 @@ proc stepi_out { name args } {
|
|||
set test "${name}; stepi out of handler"
|
||||
gdb_test_multiple "stepi" "$test" {
|
||||
-re "Could not insert single-step breakpoint.*$gdb_prompt $" {
|
||||
setup_kfail gdb/1736 "sparc*-*-openbsd*"
|
||||
setup_kfail gdb/8841 "sparc*-*-openbsd*"
|
||||
fail "$test (could not insert single-step breakpoint)"
|
||||
}
|
||||
-re "keeper.*$gdb_prompt $" {
|
||||
|
@ -168,22 +168,22 @@ proc stepi_out { name args } {
|
|||
exp_continue
|
||||
}
|
||||
-re "Program received signal SIGSEGV.*$gdb_prompt $" {
|
||||
kfail gdb/1702 "$test (executed fault insn)"
|
||||
kfail gdb/8807 "$test (executed fault insn)"
|
||||
}
|
||||
-re "Breakpoint.*pc(\r\n| *)[at_segv] .*bowler.*$gdb_prompt $" {
|
||||
pass "$test (at breakpoint)"
|
||||
}
|
||||
-re "Breakpoint.*pc(\r\n| *)[after_segv] .*bowler.*$gdb_prompt $" {
|
||||
kfail gdb/1702 "$test (executed breakpoint)"
|
||||
kfail gdb/8807 "$test (executed breakpoint)"
|
||||
}
|
||||
-re "pc(\r\n| *)[at_segv] .*bowler.*$gdb_prompt $" {
|
||||
pass "$test"
|
||||
}
|
||||
-re "pc(\r\n| *)[after_segv] .*bowler.*$gdb_prompt $" {
|
||||
kfail gdb/1702 "$test (skipped fault insn)"
|
||||
kfail gdb/8807 "$test (skipped fault insn)"
|
||||
}
|
||||
-re "pc(\r\n| *)=> 0x\[a-z0-9\]* .*bowler.*$gdb_prompt $" {
|
||||
kfail gdb/1702 "$test (corrupt pc)"
|
||||
kfail gdb/8807 "$test (corrupt pc)"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@ gdb_test_sequence "bt" "backtrace for nexti" {
|
|||
set test "step out of handler"
|
||||
gdb_test_multiple "step" "${test}" {
|
||||
-re "Could not insert single-step breakpoint.*$gdb_prompt $" {
|
||||
setup_kfail gdb/1736 sparc*-*-openbsd*
|
||||
setup_kfail gdb/8841 sparc*-*-openbsd*
|
||||
fail "$test (could not insert single-step breakpoint)"
|
||||
}
|
||||
-re "done = 1;.*${gdb_prompt} $" {
|
||||
|
|
|
@ -65,7 +65,7 @@ proc advance { i } {
|
|||
set test "$prefix; leave handler"
|
||||
gdb_test_multiple "$i" "${test}" {
|
||||
-re "Could not insert single-step breakpoint.*$gdb_prompt $" {
|
||||
setup_kfail gdb/1736 "sparc*-*-openbsd*"
|
||||
setup_kfail gdb/8841 "sparc*-*-openbsd*"
|
||||
fail "$test (could not insert single-step breakpoint)"
|
||||
}
|
||||
-re "done = 1;.*${gdb_prompt} $" {
|
||||
|
@ -77,7 +77,7 @@ proc advance { i } {
|
|||
exp_continue -continue_timer
|
||||
}
|
||||
-re "$inferior_exited_re normally.*${gdb_prompt} $" {
|
||||
setup_kfail gdb/1639 powerpc-*-*bsd*
|
||||
setup_kfail gdb/8744 powerpc-*-*bsd*
|
||||
fail "$test (program exited)"
|
||||
}
|
||||
-re "(while ..done|done = 0).*${gdb_prompt} $" {
|
||||
|
@ -106,13 +106,13 @@ proc advancei { i } {
|
|||
# Some platforms use a special read-only page for signal
|
||||
# trampolines. We can't set a breakpoint there, and we
|
||||
# don't gracefully fall back to single-stepping.
|
||||
setup_kfail gdb/1736 "i?86-*-linux*"
|
||||
setup_kfail gdb/1736 "*-*-openbsd*"
|
||||
setup_kfail gdb/8841 "i?86-*-linux*"
|
||||
setup_kfail gdb/8841 "*-*-openbsd*"
|
||||
fail "$test (could not set breakpoint)"
|
||||
return
|
||||
}
|
||||
-re "Could not insert single-step breakpoint.*$gdb_prompt $" {
|
||||
setup_kfail gdb/1736 "sparc*-*-openbsd*"
|
||||
setup_kfail gdb/8841 "sparc*-*-openbsd*"
|
||||
fail "$test (could not insert single-step breakpoint)"
|
||||
}
|
||||
-re "Breakpoint \[0-9\]*, handler .*${gdb_prompt} $" {
|
||||
|
@ -159,7 +159,7 @@ proc advancei { i } {
|
|||
exp_continue -continue_timer
|
||||
}
|
||||
-re "$inferior_exited_re normally.*${gdb_prompt} $" {
|
||||
kfail gdb/1639 "$test (program exited)"
|
||||
kfail gdb/8744 "$test (program exited)"
|
||||
set program_exited 1
|
||||
}
|
||||
-re "The program is not being run.*${gdb_prompt} $" {
|
||||
|
|
Loading…
Reference in New Issue