From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20295 invoked by alias); 12 Oct 2012 07:02:02 -0000 Received: (qmail 20276 invoked by uid 22791); 12 Oct 2012 07:02:00 -0000 X-SWARE-Spam-Status: No, hits=-7.3 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_SPAMHAUS_DROP,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 12 Oct 2012 07:01:55 +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 q9C71siE029270 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 12 Oct 2012 03:01:54 -0400 Received: from host2.jankratochvil.net (ovpn-116-24.ams2.redhat.com [10.36.116.24]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q9C71oBr028346 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Fri, 12 Oct 2012 03:01:52 -0400 Date: Fri, 12 Oct 2012 07:02:00 -0000 From: Jan Kratochvil To: dje@google.com Cc: gdb-patches@sourceware.org Subject: Regression for gdb.base/stap-probe.exp (and some others) [Re: [patch] Have gdb_breakpoint call pass] Message-ID: <20121012070149.GA5873@host2.jankratochvil.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) 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: 2012-10/txt/msg00190.txt.bz2 On Mon, 01 Oct 2012 18:49:21 +0200, dje@google.com wrote: > 2012-10-01 Doug Evans > > * lib/gdb.exp (gdb_breakpoint): Fix varargs scan. > Recognize "message" -> print pass and fail. Add eof case. > (runto): Recognize message, no-message. Print pass/fail if requested, > with same treatment as gdb_breakpoint. > (runto_main): Pass no-message to runto. > (gdb_internal_error_resync): Add log message. > (gdb_file_cmd): Tweak internal error fail text for consistency. Running gdb/testsuite/gdb.base/stap-probe.exp ... PASS: gdb.base/stap-probe.exp: without semaphore, not optimized: check argument not at probe point PASS: gdb.base/stap-probe.exp: without semaphore, not optimized: info probes stap -PASS: gdb.base/stap-probe.exp: without semaphore, not optimized: run to -pstap test:user +FAIL: gdb.base/stap-probe.exp: without semaphore, not optimized: run to -pstap test:user [...] (many of PASS->FAIL for gdb.base/stap-probe.exp) 8ff7e49469b5392bd0663a503023b9987dd1b9de is the first bad commit commit 8ff7e49469b5392bd0663a503023b9987dd1b9de Author: Doug Evans Date: Thu Oct 11 15:59:56 2012 +0000 * lib/gdb.exp (gdb_breakpoint): Fix varargs scan. Recognize "message" -> print pass and fail. Add eof case. (runto): Recognize message, no-message. Print pass/fail if requested, with same treatment as gdb_breakpoint. (runto_main): Pass no-message to runto. (gdb_internal_error_resync): Add log message. (gdb_file_cmd): Tweak internal error fail text for consistency. -(gdb) break -pstap test:user -Breakpoint 2 at 0x4005a1 -(gdb) run -[...] -(gdb) PASS: gdb.base/stap-probe.exp: without semaphore, not optimized: run to -pstap test:user +(gdb) break -pstap +Function "-pstap" not defined. +Make breakpoint pending on future shared library load? (y or [n]) n +(gdb) FAIL: gdb.base/stap-probe.exp: without semaphore, not optimized: run to -pstap test:user Also: (gdb) break jmisc.main(java.lang.String[]) Function "jmisc.main(java.lang.String[])" not defined. -Make breakpoint pending on future shared library load? (y or [n]) y -Breakpoint 2 (jmisc.main(java.lang.String[])) pending. [...] +Make breakpoint pending on future shared library load? (y or [n]) n +(gdb) FAIL: gdb.java/jmisc.exp: setting breakpoint at jmisc.main(java.lang.String[]) Regards, Jan