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.
+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.
# 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} $" {
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 $" {
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)"
}
}
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} $" {
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} $" {
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} $" {
# 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} $" {
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} $" {