From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23693 invoked by alias); 23 Mar 2014 16:58:01 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 23106 invoked by uid 89); 23 Mar 2014 16:57:59 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.3 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_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 ESMTP; Sun, 23 Mar 2014 16:57:53 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s2NGvmLr011198 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 23 Mar 2014 12:57:48 -0400 Received: from host2.jankratochvil.net (ovpn-116-22.ams2.redhat.com [10.36.116.22]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id s2NGvjBU009859 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sun, 23 Mar 2014 12:57:47 -0400 Date: Sun, 23 Mar 2014 16:58:00 -0000 From: Jan Kratochvil To: Yufeng Zhang Cc: Doug Evans , "gdb-patches@sourceware.org" Subject: Re: [patchv3] Fix SIGTERM signal safety (PR gdb/15358) Message-ID: <20140323165745.GA23830@host2.jankratochvil.net> References: <20140314183709.GA28050@host2.jankratochvil.net> <20140314184535.GA30853@host2.jankratochvil.net> <21284.44419.745786.47756@ruffy.mtv.corp.google.com> <20140316135334.GA30698@host2.jankratochvil.net> <532EFB6C.2030003@arm.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="jRHKVT23PllUwdXP" Content-Disposition: inline In-Reply-To: <532EFB6C.2030003@arm.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes X-SW-Source: 2014-03/txt/msg00565.txt.bz2 --jRHKVT23PllUwdXP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 623 On Sun, 23 Mar 2014 16:19:08 +0100, Yufeng Zhang wrote: > On 03/16/14 13:53, Jan Kratochvil wrote: > >+ gdb_test_no_output "set range-stepping off" "" > >+ gdb_test_no_output "set debug infrun 1" "" > >+ gdb_test_no_output "set debug lin-lwp 1" "" > > The test fails on aarch64-none-elf. Should the test only run on > Linux targets? I see that lin-lwp probably does not exist on such GDB. That "set debug lin-lwp 1" command even is not needed for the functionality of this testcase. Does this patch fix it on aarch64-none-elf or should it be really disabled? Could you post me off-list gdb.log? Thanks, Jan --jRHKVT23PllUwdXP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline; filename=1 Content-length: 600 gdb/testsuite/ 2014-03-23 Jan Kratochvil * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1". diff --git a/gdb/testsuite/gdb.base/gdb-sigterm.exp b/gdb/testsuite/gdb.base/gdb-sigterm.exp index b57680d..f52517c 100644 --- a/gdb/testsuite/gdb.base/gdb-sigterm.exp +++ b/gdb/testsuite/gdb.base/gdb-sigterm.exp @@ -36,7 +36,6 @@ proc do_test { pass } { gdb_test_no_output "set range-stepping off" "" gdb_test_no_output "set debug infrun 1" "" - gdb_test_no_output "set debug lin-lwp 1" "" set test "run a bit #$pass" set abort 1 --jRHKVT23PllUwdXP--