From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7277 invoked by alias); 30 Jul 2009 15:16:03 -0000 Received: (qmail 7267 invoked by uid 22791); 30 Jul 2009 15:16:03 -0000 X-SWARE-Spam-Status: No, hits=-2.3 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, 30 Jul 2009 15:15:54 +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 n6UFFpQt004658; Thu, 30 Jul 2009 11:15:51 -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 n6UFFo25007041; Thu, 30 Jul 2009 11:15:50 -0400 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n6UFFnVe002806; Thu, 30 Jul 2009 11:15:49 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id EF3585081C4; Thu, 30 Jul 2009 09:15:48 -0600 (MDT) To: Reid Kleckner Cc: gdb-patches@sourceware.org, unladen-swallow@googlegroups.com Subject: Re: [RFA] Add interface for registering JITed code References: <9a9942200907221615o570e749fh5cb186c1600f159c@mail.gmail.com> <9a9942200907240946q1546646ft6e9112f263bcefdf@mail.gmail.com> <9a9942200907241639o4e4b1d4ema22bac7bb6db9e35@mail.gmail.com> From: Tom Tromey Reply-To: Tom Tromey Date: Thu, 30 Jul 2009 16:54:00 -0000 In-Reply-To: (Tom Tromey's message of "Thu\, 30 Jul 2009 09\:12\:50 -0600") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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-07/txt/msg00742.txt.bz2 >>>>> "Tom" == Tom Tromey writes: Reid> + if (jit_descriptor_addr != 0) Reid> + return; Tom> This approach won't work if you have address space randomization enabled Tom> and you re-run the inferior. Oh, never mind. I missed the assignment that resets this when the inferior exits. I'll take another look at the patch soon. Tom