From patchwork Tue Oct 28 15:33:35 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pedro Alves X-Patchwork-Id: 3446 Received: (qmail 23204 invoked by alias); 28 Oct 2014 15:33:41 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 23195 invoked by uid 89); 28 Oct 2014 15:33:40 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_HELO_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 28 Oct 2014 15:33:39 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s9SFXcfU028522 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Tue, 28 Oct 2014 11:33:38 -0400 Received: from brno.lan (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s9SFXaF2024351 for ; Tue, 28 Oct 2014 11:33:37 -0400 From: Pedro Alves To: gdb-patches@sourceware.org Subject: [PATCH] update bug numbers (GNATS -> Bugzilla) in a few signal related tests Date: Tue, 28 Oct 2014 15:33:35 +0000 Message-Id: <1414510415-28524-1-git-send-email-palves@redhat.com> This makes it easier to find the bugs in Bugzilla. gdb/testsuite/ 2014-10-28 Pedro Alves * 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. --- gdb/testsuite/ChangeLog | 8 ++++++++ gdb/testsuite/gdb.base/sigaltstack.exp | 4 ++-- gdb/testsuite/gdb.base/sigbpt.exp | 10 +++++----- gdb/testsuite/gdb.base/siginfo.exp | 2 +- gdb/testsuite/gdb.base/sigstep.exp | 12 ++++++------ 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 + + * 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 * 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} $" {