From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19277 invoked by alias); 25 Jun 2009 23:21:25 -0000 Received: (qmail 19266 invoked by uid 22791); 25 Jun 2009 23:21:25 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 25 Jun 2009 23:21:17 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n5PNLFT9027140 for ; Thu, 25 Jun 2009 19:21:15 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n5PNLF8F025371 for ; Thu, 25 Jun 2009 19:21:15 -0400 Received: from host0.dyn.jankratochvil.net (sebastian-int.corp.redhat.com [172.16.52.221]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n5PNLEEx004493 for ; Thu, 25 Jun 2009 19:21:14 -0400 Received: from host0.dyn.jankratochvil.net (localhost [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.3/8.14.3) with ESMTP id n5PNLDOg029075; Fri, 26 Jun 2009 01:21:13 +0200 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.3/8.14.3/Submit) id n5PNLCpU029074; Fri, 26 Jun 2009 01:21:12 +0200 Date: Thu, 25 Jun 2009 23:21:00 -0000 From: Jan Kratochvil To: Karen Osmond Cc: gdb-patches@sourceware.org Subject: [patch] Test result regression for gdb.base/psymtab.exp [Re: [patch] not able to set pending breakpoint at qualified C++ function names] Message-ID: <20090625232112.GA27525@host0.dyn.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.19 (2009-01-05) 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: 2009-06/txt/msg00695.txt.bz2 On Thu, 25 Jun 2009 20:09:15 +0200, Karen Osmond wrote: > On Mon, 22 Jun 2009, Karen Osmond wrote: > > 2009-06-22 Karen Osmond > > > > * linespec.c (find_method): Add new not_found_ptr parameter to > > bring in line with symtab_from_filename, decode_variable. > > (decode_compound): Likewise. Also propagate not_found_ptr to > > find_method. > > (decode_line_1): Propagate not_found_ptr to decode_compound. > > (cplusplus_error): Now throws NOT_FOUND_ERROR. > > Committed. There is now a small testsuite regression (x86_64-fedora-linux-gnu) as GDB now behaves more correctly. Can't find member of namespace, class, struct, or union named "zzz::dummy" Hint: try 'zzz::dummy or 'zzz::dummy (Note leading single quote.) -(gdb) PASS: gdb.base/psymtab.exp: Don't search past end of psymtab. -testcase ../.././gdb/testsuite/gdb.base/psymtab.exp completed in 1 seconds +Make breakpoint pending on future shared library load? (y or [n]) FAIL: gdb.base/psymtab.exp: Don't search past end of psymtab. (timeout) +testcase ../.././gdb/testsuite/gdb.base/psymtab.exp completed in 60 seconds Requesting approval from GDB maintainers. Thanks, Jan 2009-06-26 Jan Kratochvil * gdb.base/psymtab.exp (gdb.base/psymtab.exp): Turn off pending breakpoints. --- a/gdb/testsuite/gdb.base/psymtab.exp +++ b/gdb/testsuite/gdb.base/psymtab.exp @@ -61,6 +61,10 @@ gdb_start gdb_reinitialize_dir $srcdir/$subdir gdb_load ${binfile} +# GDB now correctly asks if the symbol can be found on future library load. + +gdb_test "set breakpoint pending off" + # This test is looking for a bug that manifested itself when GDB was # looking for a partial symbol such that there wasn't such a partial # symbol in the psymtab, but such that the last psym in the psymtab