From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 7862) id 0B9F5383D824; Mon, 27 Jun 2022 20:08:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0B9F5383D824 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Bruno Larsen To: gdb-cvs@sourceware.org Subject: [binutils-gdb] gdb/testsuite: update bug numbers from Gnats to bugzilla X-Act-Checkin: binutils-gdb X-Git-Author: Bruno Larsen X-Git-Refname: refs/heads/master X-Git-Oldrev: 95127faf50eef65b381dd1e5eb7c7db43915e54c X-Git-Newrev: e1692475fd63ae6f036f6faf3bcb5436a400477b Message-Id: <20220627200846.0B9F5383D824@sourceware.org> Date: Mon, 27 Jun 2022 20:08:46 +0000 (GMT) X-BeenThere: gdb-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jun 2022 20:08:46 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3De1692475fd63= ae6f036f6faf3bcb5436a400477b commit e1692475fd63ae6f036f6faf3bcb5436a400477b Author: Bruno Larsen Date: Mon Jun 27 16:39:03 2022 -0300 gdb/testsuite: update bug numbers from Gnats to bugzilla =20 Some tests link to outdated bug numbers when an XFAIL or a KFAIL happen. =20 gdb.base/macscp.exp was referencing bug number 555, and the bug 7660 mentions that it used to be 555 on the Gnats system and seems to relate to the issue at hand. =20 gdb.base/annota1.exp was referencing bug number 1270, and bug 8375 mentions being number 1270 on Gnats, and mentions annota1 specifically, so it seemed pretty obvious. Diff: --- gdb/testsuite/gdb.base/annota1.exp | 8 ++++---- gdb/testsuite/gdb.base/macscp.exp | 14 +++++++------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/gdb/testsuite/gdb.base/annota1.exp b/gdb/testsuite/gdb.base/an= nota1.exp index aed2a4e6468..8060d3c8934 100644 --- a/gdb/testsuite/gdb.base/annota1.exp +++ b/gdb/testsuite/gdb.base/annota1.exp @@ -100,7 +100,7 @@ gdb_test_multiple "info break" "breakpoint info" { pass $gdb_test_name } -re "\r\n\032\032post-prompt\r\n\r\n\032\032breakpoints-headers\r\n\r\= n\032\032field 0\r\nNum \r\n\032\032field 1\r\nType \r\n\032\= 032field 2\r\nDisp \r\n\032\032field 3\r\nEnb \r\n\032\032field 4\r\nAddres= s +\r\n\032\032field 5\r\nWhat\r\n\r\n\032\032breakpoints-table\r\n\r\n\= 032\032record\r\n\r\n\032\032field 0\r\n1 \r\n\032\032field 1\r\nbrea= kpoint \r\n\032\032field 2\r\nkeep \r\n\032\032field 3\r\ny \r\n\032\= 032field 4\r\n$hex +\r\n\032\032field 5\r\nin main at .*${srcfile}:$main_li= ne\r\n\r\n\032\032breakpoints-table-end\r\n$gdb_prompt$" { - setup_xfail "*-*-*" 1270 + setup_xfail "*-*-*" 8375 fail $gdb_test_name } } @@ -295,7 +295,7 @@ gdb_test_multiple "backtrace" "backtrace from shlibrary= " { pass $gdb_test_name } -re "$pat_begin.*$srcfile$pat_end" { - setup_xfail "*-*-*" 1270 + setup_xfail "*-*-*" 8375 fail $gdb_test_name } } @@ -318,7 +318,7 @@ if [target_info exists gdb,nosignals] { pass $gdb_test_name } -re "\r\n\032\032post-prompt\r\nContinuing with signal SIGUSR1.\r\n\r\n\0= 32\032starting\(\(\r\n\r\n\032\032frames-invalid\)|\(\r\n\r\n\032\032breakp= oints-invalid\)\)+\r\n\r\n\032\032breakpoint 2\r\n\r\nBreakpoint 2, \r\n\03= 2\032frame-begin 0 $hex\r\n\r\n\032\032frame-function-name\r\nhandle_USR1\r= \n\032\032frame-args\r\n \\(\r\n\032\032arg-begin\r\nsig\r\n\032\032arg-nam= e-end\r\n=3D\r\n\032\032arg-value -\r\n$decimal\r\n\032\032arg-end\r\n\\)\r= \n\032\032frame-source-begin\r\n at \r\n\032\032frame-source-file\r\n.*${sr= cfile}\r\n\032\032frame-source-file-end\r\n:\r\n\032\032frame-source-line\r= \n.*\r\n\032\032frame-source-end\r\n\r\n\r\n\032\032source.*annota1.c:.*:.*= :beg:$hex\r\n\r\n\032\032frame-end\r\n\r\n\032\032stopped\r\n$gdb_prompt$" { - setup_xfail "*-*-*" 1270 + setup_xfail "*-*-*" 8375 fail $gdb_test_name } } @@ -364,7 +364,7 @@ gdb_test_multiple "break ${srcfile}:${main_line}" "brea= k in main" { pass $gdb_test_name } -re "post-prompt.*Breakpoint 4 at $hex: file .*${srcfile}, line $main_= line.*\032\032breakpoints-invalid.*$gdb_prompt$" { - setup_xfail "*-*-*" 1270 + setup_xfail "*-*-*" 8375 fail $gdb_test_name } } diff --git a/gdb/testsuite/gdb.base/macscp.exp b/gdb/testsuite/gdb.base/mac= scp.exp index be9bd5312ff..acc57422d2c 100644 --- a/gdb/testsuite/gdb.base/macscp.exp +++ b/gdb/testsuite/gdb.base/macscp.exp @@ -233,8 +233,8 @@ switch -exact -- [info_macro WHERE] { pass "info macro WHERE after `list macscp_4_2_from_macscp2'" } {macscp4.h macscp3.h macscp1.c {before macscp4_2_..., from macscp3.h}}= { - setup_kfail "gdb/555" *-*-*=20 - fail "info macro WHERE after `list macscp_4_2_from_macscp2' (gdb/5= 55)" + setup_kfail "gdb/7660" *-*-*=20 + fail "info macro WHERE after `list macscp_4_2_from_macscp2' (gdb/7= 660)" } timeout {=20 fail "info macro WHERE after `list macscp_4_2_from_macscp2' (timeo= ut)" @@ -248,8 +248,8 @@ switch -exact -- [info_macro WHERE] { pass "info macro WHERE after `list macscp_4_2_from_macscp3'" } {macscp4.h macscp2.h macscp1.c {before macscp4_2_..., from macscp2.h}}= { - setup_kfail "gdb/555" *-*-*=20 - fail "info macro WHERE after `list macscp_4_2_from_macscp3' (gdb/5= 55)" + setup_kfail "gdb/7660" *-*-*=20 + fail "info macro WHERE after `list macscp_4_2_from_macscp3' (gdb/7= 660)" } timeout { fail "info macro WHERE after `list macscp_4_2_from_macscp3' (timeo= ut)" @@ -326,7 +326,7 @@ proc maybe_kfail { func test_name } { # We can't get the right scope info when we're stopped in # the macro4_ functions. if {[string match macscp4_* $func]} { - kfail gdb/555 "$test_name" + kfail gdb/7660 "$test_name" } else { fail "$test_name" } @@ -359,8 +359,8 @@ for {set i 0} {$i < [llength $funcs]} {incr i} { if {[string compare $result $expected] =3D=3D 0} { pass "info macro WHERE stopped in $func" } elseif {[string compare $result $kfail_expected] =3D=3D 0} { - setup_kfail "gdb/555" *-*-*=20 - fail "info macro WHERE stopped in $func (gdb/555)" + setup_kfail "gdb/7660" *-*-*=20 + fail "info macro WHERE stopped in $func (gdb/7660)" } elseif {[string compare $result timeout] =3D=3D 0} { fail "info macro WHERE stopped in $func (timeout)" } else {