From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23978 invoked by alias); 11 Jun 2010 19:35:12 -0000 Received: (qmail 23968 invoked by uid 22791); 11 Jun 2010 19:35:11 -0000 X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,MSGID_FROM_MTA_HEADER,SPF_SOFTFAIL,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mtagate6.de.ibm.com (HELO mtagate6.de.ibm.com) (195.212.17.166) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 11 Jun 2010 19:35:06 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate6.de.ibm.com (8.13.1/8.13.1) with ESMTP id o5BJZ2xx003071 for ; Fri, 11 Jun 2010 19:35:02 GMT Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o5BJZ1521286388 for ; Fri, 11 Jun 2010 21:35:01 +0200 Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id o5BJZ1w6021434 for ; Fri, 11 Jun 2010 21:35:01 +0200 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with SMTP id o5BJZ0cJ021385; Fri, 11 Jun 2010 21:35:00 +0200 Message-Id: <201006111935.o5BJZ0cJ021385@d12av02.megacenter.de.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Fri, 11 Jun 2010 21:35:00 +0200 Subject: Re: [RFA] gdb.base -- use gdb_test_no_output To: jan.kratochvil@redhat.com (Jan Kratochvil) Date: Fri, 11 Jun 2010 19:35:00 -0000 From: "Ulrich Weigand" Cc: msnyder@vmware.com (Michael Snyder), gdb-patches@sourceware.org (gdb-patches@sourceware.org) In-Reply-To: <20100611192558.GA20163@host0.dyn.jankratochvil.net> from "Jan Kratochvil" at Jun 11, 2010 09:25:58 PM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: 2010-06/txt/msg00286.txt.bz2 Jan Kratochvil wrote: > FYI in the testcase the inferior is no loner running when `set language asm' is > entered. There is preceding: > > (gdb) run^M > Starting program: .../gdb.base/setshow foo bar blup baz bubble^M > foo bar blup baz bubble ^M > Program exited normally.^M > (gdb) PASS: gdb.base/setshow.exp: passing args Ah, that would explain it! This part of setshow.exp: # Don't test if we can't pass args or if we're using a stub. if { ![target_info exists use_gdb_stub] && ![target_info exists noargs] } { #test passing args gdb_test "cont" "Continuing.*" "continuing" delete_breakpoints gdb_test "run" "Starting program:.*foo bar blup baz bubble.*" "passing args" } is skipped on spu-elf because we cannot pass command line arguments (well, at least it's not set up that way). However, it seems to me that this is still a bug: I don't really think the intention was that the remaining checks are to be executed on a running inferior on some targets, and on a exited inferior on others ... Bye, Ulrich -- Dr. Ulrich Weigand GNU Toolchain for Linux on System z and Cell BE Ulrich.Weigand@de.ibm.com