From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8812 invoked by alias); 7 Jul 2011 11:35:27 -0000 Received: (qmail 8694 invoked by uid 22791); 7 Jul 2011 11:35:27 -0000 X-SWARE-Spam-Status: No, hits=-6.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,TW_LV,T_RP_MATCHES_RCVD 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; Thu, 07 Jul 2011 11:35:12 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p67BYn9o026674 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 7 Jul 2011 07:34:50 -0400 Received: from host1.jankratochvil.net (ovpn-113-91.phx2.redhat.com [10.3.113.91]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p67BYlIs018720 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 7 Jul 2011 07:34:49 -0400 Received: from host1.jankratochvil.net (localhost [127.0.0.1]) by host1.jankratochvil.net (8.14.4/8.14.4) with ESMTP id p67BYkTj005351; Thu, 7 Jul 2011 13:34:46 +0200 Received: (from jkratoch@localhost) by host1.jankratochvil.net (8.14.4/8.14.4/Submit) id p67BYicC005348; Thu, 7 Jul 2011 13:34:44 +0200 Date: Thu, 07 Jul 2011 12:10:00 -0000 From: Jan Kratochvil To: Paul Pluzhnikov Cc: Joel Brobecker , gdb-patches@sourceware.org, Yuri , Tom Tromey Subject: Re: [patch,7.3] Fix JIT clang-lli gdb-7.3 regression Re: [gdb-7.3] Error in gdb-llvm integration: Unable to read JIT descriptor from remote memory! Message-ID: <20110707113444.GA4891@host1.jankratochvil.net> References: <4E0FAB8D.2070709@rawbw.com> <20110704214654.GA21844@host1.jankratochvil.net> <20110705170728.GY2407@adacore.com> <20110706220611.GF2407@adacore.com> 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: 2011-07/txt/msg00233.txt.bz2 On Thu, 07 Jul 2011 00:43:50 +0200, Paul Pluzhnikov wrote: > This then leaves the "unload/reload" case not handled. What I was trying to exploit with the countercases is that breakpoint_re_set is designed so that if anything in the inferior changes everything gets re-set. Since the former Paul's change 739571cc3151651f49f7171cfd98275d983bfaaa some information is kept even across breakpoint_re_set which I find against the design of breakpoint_re_set. It now keeps information about inferior even if some unspecific inferior change has happened. The problem is breakpoint_re_set is no longer performance sufficient. This is a part of the large task Gary Benson is working on, to make inferior solib notififications local and specific to each solib. But it needs to pass more information what has changed than the global breakpoint_re_set event. I do not think that workarounding breakpoint_re_set problems at its callees is right. But I do not have any further counter testcases. Thanks, Jan