From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 794 invoked by alias); 17 Oct 2013 20:25:16 -0000 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 Received: (qmail 783 invoked by uid 89); 17 Oct 2013 20:25:16 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.6 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 17 Oct 2013 20:25:16 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r9HKPC2C018787 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 17 Oct 2013 16:25:12 -0400 Received: from barimba (ovpn-113-54.phx2.redhat.com [10.3.113.54]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r9HKPBwx032193 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Thu, 17 Oct 2013 16:25:11 -0400 From: Tom Tromey To: "Dave.Tian" Cc: gdb-patches@sourceware.org, Sergio Durigan Junior Subject: Re: [PATCH] bug fix for gdb 16039 References: Date: Thu, 17 Oct 2013 20:25:00 -0000 In-Reply-To: (Dave Tian's message of "Wed, 16 Oct 2013 01:44:15 -0500") Message-ID: <87sivztzkp.fsf@fleche.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2013-10/txt/msg00539.txt.bz2 >>>>> ">" == Dave Tian writes: >> 1 Description: Gdb bug 16039 created by me >> Title: Gdb next" command stop working when shared library unloaded. >> Root Cause: There is "libc++" static linked into the shared library, >> and since gdb insert internal breakpoints on std::terminate/longjump/... >> so after dlclose, the memory address is >> invalid,remove_breakpoints/insert_breakpoints >> failed with EIO error. The patch seems reasonable to me, but I think it would be good to have a regression test for it. Tom