aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2014-10-28 14:32:51 +0000
committerPedro Alves <palves@redhat.com>2014-10-28 15:31:55 +0000
commita5b6e449e36bcdb162271707fa145f316053ebbc (patch)
tree6fd7d5b21c832e5b780ca13db291418fb9f9f615
parent7d1a114c44db3d7055afe48868f939ba95a64b7b (diff)
downloadgdb-a5b6e449e36bcdb162271707fa145f316053ebbc.zip
gdb-a5b6e449e36bcdb162271707fa145f316053ebbc.tar.gz
gdb-a5b6e449e36bcdb162271707fa145f316053ebbc.tar.bz2
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.
-rw-r--r--gdb/testsuite/ChangeLog8
-rw-r--r--gdb/testsuite/gdb.base/sigaltstack.exp4
-rw-r--r--gdb/testsuite/gdb.base/sigbpt.exp10
-rw-r--r--gdb/testsuite/gdb.base/siginfo.exp2
-rw-r--r--gdb/testsuite/gdb.base/sigstep.exp12
5 files changed, 22 insertions, 14 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 5cc7b0b..2cf7003 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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.
diff --git a/gdb/testsuite/gdb.base/sigaltstack.exp b/gdb/testsuite/gdb.base/sigaltstack.exp
index be4c72f..61579df 100644
--- a/gdb/testsuite/gdb.base/sigaltstack.exp
+++ b/gdb/testsuite/gdb.base/sigaltstack.exp
@@ -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} $" {
diff --git a/gdb/testsuite/gdb.base/sigbpt.exp b/gdb/testsuite/gdb.base/sigbpt.exp
index b184e9e..0e30003 100644
--- a/gdb/testsuite/gdb.base/sigbpt.exp
+++ b/gdb/testsuite/gdb.base/sigbpt.exp
@@ -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)"
}
}
diff --git a/gdb/testsuite/gdb.base/siginfo.exp b/gdb/testsuite/gdb.base/siginfo.exp
index e96a38f..b887e1f 100644
--- a/gdb/testsuite/gdb.base/siginfo.exp
+++ b/gdb/testsuite/gdb.base/siginfo.exp
@@ -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} $" {
diff --git a/gdb/testsuite/gdb.base/sigstep.exp b/gdb/testsuite/gdb.base/sigstep.exp
index 53152b8..85d4178 100644
--- a/gdb/testsuite/gdb.base/sigstep.exp
+++ b/gdb/testsuite/gdb.base/sigstep.exp
@@ -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} $" {