From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5160 invoked by alias); 30 Jul 2009 18:00:04 -0000 Received: (qmail 5080 invoked by uid 22791); 30 Jul 2009 18:00:02 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-qy0-f198.google.com (HELO mail-qy0-f198.google.com) (209.85.221.198) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 30 Jul 2009 17:59:55 +0000 Received: by qyk36 with SMTP id 36so2184142qyk.12 for ; Thu, 30 Jul 2009 10:59:53 -0700 (PDT) Received: by 10.224.6.74 with SMTP id 10mr1027339qay.307.1248976793824; Thu, 30 Jul 2009 10:59:53 -0700 (PDT) Received: from hotblack.localnet ([189.4.46.16]) by mx.google.com with ESMTPS id 6sm3901996qwk.14.2009.07.30.10.59.52 (version=SSLv3 cipher=RC4-MD5); Thu, 30 Jul 2009 10:59:53 -0700 (PDT) From: Thiago Jung Bauermann To: gdb-patches@sourceware.org, Tom Tromey Subject: Re: [RFA] Add interface for registering JITed code Date: Thu, 30 Jul 2009 21:10:00 -0000 User-Agent: KMail/1.11.4 (Linux/2.6.30-1-amd64; KDE/4.2.4; x86_64; ; ) Cc: Reid Kleckner , unladen-swallow@googlegroups.com References: <9a9942200907221615o570e749fh5cb186c1600f159c@mail.gmail.com> <9a9942200907241639o4e4b1d4ema22bac7bb6db9e35@mail.gmail.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200907301501.17812.thiago.bauermann@gmail.com> 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-07/txt/msg00748.txt.bz2 Em Quinta-feira 30 Julho 2009 12:12:50 Tom Tromey escreveu: > >>>>> "Reid" == Reid Kleckner writes: > > Tom> Yeah. This would work if you had two JITs in a process, say loaded > Tom> dynamically, and the various __jit symbols had hidden visibility. > > Reid> I think if someone has that use case, then they can write a client > Reid> side library that wraps the __jit symbols and make the two JITs call > Reid> that. > > Yeah, I changed my mind, let's not worry about it. If it ever comes up, > we can deal with it then without breaking compatibility. If/when someone wants to add another scripting language to GDB, we will be bitten by this issue. I can see that happening already. :-) You're saying that the current patch is extensible to deal with that? Also, changing subjects: it is important that this feature works on core files, or at least is forward-compatible with such a feature. I think this needs to be thought through before the patch goes in. Apologies if any of this has already been answered on the thread or is obvious to people who have been involved in the thread since the beginning. -- []'s Thiago Jung Bauermann