From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11049 invoked by alias); 20 May 2011 15:35:53 -0000 Received: (qmail 10892 invoked by uid 22791); 20 May 2011 15:35:52 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 20 May 2011 15:35:38 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 6973C2BB531; Fri, 20 May 2011 11:35:37 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 6EoZbsXE0Psa; Fri, 20 May 2011 11:35:37 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 19FCE2BB2AB; Fri, 20 May 2011 11:35:36 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 9F1F2145615; Fri, 20 May 2011 08:35:34 -0700 (PDT) Date: Fri, 20 May 2011 15:35:00 -0000 From: Joel Brobecker To: Pedro Alves Cc: gdb-patches@sourceware.org, Marc Khouzam Subject: Re: skip setting the svr4 shared library breakpoint if there's no execution (Re: Regression loading a tracefile in 7_3) Message-ID: <20110520153534.GA4909@adacore.com> References: <201105201257.53942.pedro@codesourcery.com> <201105201503.21053.pedro@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201105201503.21053.pedro@codesourcery.com> User-Agent: Mutt/1.5.20 (2009-06-14) 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-05/txt/msg00482.txt.bz2 > 2011-05-20 Pedro Alves > > gdb/ > * solib-svr4.c (svr4_solib_create_inferior_hook): Skip setting > shared library event breakpoint if there's no execution. > > gdb/testsuite/ > * gdb.trace/tfile.exp: Add test that opening the basic.tf trace > file doesn't error, using MI. Seems very reasonable... -- Joel