From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 36825 invoked by alias); 22 Jan 2019 17:56:44 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 36686 invoked by uid 89); 22 Jan 2019 17:56:43 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Tony, sk:dict_cr, H*f:sk:CAKJTP-, H*f:sk:A@mail. X-HELO: mail-lf1-f48.google.com Received: from mail-lf1-f48.google.com (HELO mail-lf1-f48.google.com) (209.85.167.48) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 22 Jan 2019 17:56:41 +0000 Received: by mail-lf1-f48.google.com with SMTP id y14so18729538lfg.13 for ; Tue, 22 Jan 2019 09:56:40 -0800 (PST) MIME-Version: 1.0 References: <20190118115004.1a51eefc@archvm> <20190121145310.36158a70@archvm> <20190122183245.7fa29898@archvm> In-Reply-To: <20190122183245.7fa29898@archvm> From: Tony Simpson Date: Tue, 22 Jan 2019 17:56:00 -0000 Message-ID: Subject: Re: jit interface and jit reader To: Frank Tetzel Cc: gdb@sourceware.org Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2019-01/txt/msg00025.txt.bz2 Hi Frank, I'm glad it was useful. Regarding upstreaming I don't remember why but I gave up. One of the commits on that branch adds some tests which might be useful for getting it upstreamed. I'm happy to help if you need it to get things upstreamed. Kind regards, Tony On Tue, 22 Jan 2019 at 17:32, Frank Tetzel wrote: > > I think I ran into the same problem a couple of years ago. I fixed my > > problem here > > https://github.com/tonysimpson/binutils-gdb/commits/jit-interface-fixes. > > > > I've forgotten the details but I remember I got it working with my > > patch - here is the commit message for > > 3c0e5d45f727d5ef98b681103954820c8fbbd700 Fixes: > > * Named blocks not appearing as functions - can't break on > > functions; > > * Pending breakpoints on JIT'd code not being resolved; > > * GDB goes into an infinit loop with more than one JIT block in a > > symtab; > > * Unwinder function not being called. > > > > Hope this helps. Best Regards, > > Hi Tony, > > thank you very much. Your patch is still working nearly unchanged. I > just checked for gdb 8.2.1 (dict_create_linear_expandable() takes an > argument now, "language"). > > Breakpoints are working now, even pending ones. The disassemble command > still does not work. But I haven't checked all the changes you did, > e.g., multiple blocks. > > Did you try to upstream your changes? > > Best regards, > Frank >