From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 72524 invoked by alias); 22 Jan 2019 17:33:06 -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 72356 invoked by uid 89); 22 Jan 2019 17:32:58 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=Hx-spam-relays-external:sk:server-, H*RU:sk:server-, H*r:sk:server-, HX-HELO:sk:mailout X-HELO: mailout6.zih.tu-dresden.de Received: from mailout6.zih.tu-dresden.de (HELO mailout6.zih.tu-dresden.de) (141.30.67.75) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 22 Jan 2019 17:32:56 +0000 Received: from mail.zih.tu-dresden.de ([141.76.14.4]) by mailout6.zih.tu-dresden.de with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.84_2) (envelope-from ) id 1glzuv-00086m-LT; Tue, 22 Jan 2019 18:32:53 +0100 Received: from [155.56.40.47] (helo=archvm) by server-50.mailclusterdns.zih.tu-dresden.de with esmtpsa (TLSv1.2:AES256-SHA:256) (envelope-from ) id 1glzuv-000348-Ch; Tue, 22 Jan 2019 18:32:53 +0100 Date: Tue, 22 Jan 2019 17:33:00 -0000 From: Frank Tetzel To: Tony Simpson Cc: gdb@sourceware.org Subject: Re: jit interface and jit reader Message-ID: <20190122183245.7fa29898@archvm> In-Reply-To: References: <20190118115004.1a51eefc@archvm> <20190121145310.36158a70@archvm> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TUD-Original-From: frank.tetzel@tu-dresden.de X-IsSubscribed: yes X-SW-Source: 2019-01/txt/msg00024.txt.bz2 > 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