From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11486 invoked by alias); 14 Jun 2011 07:30:36 -0000 Received: (qmail 11477 invoked by uid 22791); 14 Jun 2011 07:30:35 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 14 Jun 2011 07:30:21 +0000 Received: (qmail 8715 invoked from network); 14 Jun 2011 07:30:20 -0000 Received: from unknown (HELO ?192.168.0.102?) (yao@127.0.0.2) by mail.codesourcery.com with ESMTPA; 14 Jun 2011 07:30:20 -0000 Message-ID: <4DF70E0A.1020606@codesourcery.com> Date: Tue, 14 Jun 2011 07:30:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110424 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: gdb-patches@sourceware.org CC: Jan Kratochvil Subject: [patch, testsuite] Don't "set debug lin-lwp 1" in ia64-sigill.exp Content-Type: multipart/mixed; boundary="------------010105060402090904040404" X-IsSubscribed: yes 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 X-SW-Source: 2011-06/txt/msg00184.txt.bz2 This is a multi-part message in MIME format. --------------010105060402090904040404 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-length: 563 command "lin-lwp" is defined in linux-nat.c, so for GDB without linux-nat.o, command "set debug lin-lwp 1" can't be found, like this: set debug lin-lwp 1^M Undefined set debug command: "lin-lwp 1". Try "help set debug".^M (gdb) FAIL: gdb.threads/ia64-sigill.exp: set debug lin-lwp 1 I examine the test code, and comment says "The ia64 SIGILL signal is visible only in the lin-lwp debug.", however, I don't see any code checks the lin-lwp debug output. I think this line of code "set debug lin-lwp 1" can be removed from this test case. OK? -- Yao (齐尧) --------------010105060402090904040404 Content-Type: text/x-patch; name="remove_debug_lin-lwp.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="remove_debug_lin-lwp.patch" Content-length: 685 2011-06-14 Yao Qi gdb/testsuite/ * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1". diff --git a/gdb/testsuite/gdb.threads/ia64-sigill.exp b/gdb/testsuite/gdb.threads/ia64-sigill.exp index 2b0290f..93f753c 100644 --- a/gdb/testsuite/gdb.threads/ia64-sigill.exp +++ b/gdb/testsuite/gdb.threads/ia64-sigill.exp @@ -57,9 +57,6 @@ gdb_breakpoint [gdb_get_line_number "break-at-exit"] gdb_test_no_output "set debug infrun 1" -# The ia64 SIGILL signal is visible only in the lin-lwp debug. -gdb_test_no_output "set debug lin-lwp 1" - gdb_test "continue" "Breakpoint \[0-9\]+,( .* in)? thread_func .*" gdb_test_no_output {delete $sigill_bpnum} --------------010105060402090904040404--