From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by sourceware.org (Postfix) with ESMTPS id 26D58386F46E for ; Wed, 15 Jul 2020 08:16:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 26D58386F46E IronPort-SDR: 8K63imtB0UpNmN4GKUkBgMou36/Lj86QSWmVW9nPnXu1MvfYmiwJQ5tJUsDdSk+eHU4CPrP3Dp dSWCalWou1ng== X-IronPort-AV: E=McAfee;i="6000,8403,9682"; a="137232858" X-IronPort-AV: E=Sophos;i="5.75,354,1589266800"; d="scan'208";a="137232858" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jul 2020 01:16:53 -0700 IronPort-SDR: uI/8lTqejwAYmhLemx8ZOQCyq804PjyROzOuSm2XteoTtDMTzDUtDFt+KLca5JtDqsrdDkj+s1 k3E8ZjthU7MQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,354,1589266800"; d="scan'208";a="316637039" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga008.jf.intel.com with ESMTP; 15 Jul 2020 01:16:52 -0700 Received: from ulvlx001.iul.intel.com (ulvlx001.iul.intel.com [172.28.207.17]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id 06F8Gp7f013982; Wed, 15 Jul 2020 09:16:51 +0100 Received: from ulvlx001.iul.intel.com (localhost [127.0.0.1]) by ulvlx001.iul.intel.com with ESMTP id 06F8GpLZ018857; Wed, 15 Jul 2020 10:16:51 +0200 Received: (from taktemur@localhost) by ulvlx001.iul.intel.com with LOCAL id 06F8Go1I018853; Wed, 15 Jul 2020 10:16:50 +0200 From: Tankut Baris Aktemur To: gdb-patches@sourceware.org Subject: [PATCH v3 0/9] Handling multiple JITers Date: Wed, 15 Jul 2020 10:16:28 +0200 Message-Id: X-Mailer: git-send-email 1.7.0.7 X-Spam-Status: No, score=-9.1 required=5.0 tests=AC_FROM_MANY_DOTS, BAYES_00, KAM_DMARC_NONE, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jul 2020 08:16:56 -0000 Hi, This is v3 of the series originally submitted at https://sourceware.org/pipermail/gdb-patches/2020-May/168959.html The v2 is at https://sourceware.org/pipermail/gdb-patches/2020-June/169539.html Upon that revision, Simon Marchi had proposed https://sourceware.org/pipermail/gdb-patches/2020-June/169758.html The updates in this revision v3 are as follows: 1. The patches mentioned by Simon in the link above have been cleaned up. 2. The 'jiter_data' and 'jited_data' fields have been added directly to the objfile struct as per Pedro's suggestion at https://sourceware.org/pipermail/gdb-patches/2020-June/169796.html 3. A final commit addresses Simon's comment of skipping JIT symbol lookup in an objfile if a lookup was already done and the symbols were not found. Regards. Baris Simon Marchi (7): gdb/jit: link to jit_objfile_data directly from the objfile struct gdb/jit: split jit_objfile_data in two gdb/jit: apply some simplifications and assertions gdb/jit: move cached_code_address and jit_breakpoint to jiter_objfile_data gdb/jit: remove jiter_objfile_data -> objfile back-link gdb/jit: apply minor cleanup and modernization gdb/jit: skip jit symbol lookup if already detected the symbols don't exist Tankut Baris Aktemur (2): gdb/jit: pass the jiter objfile as an argument to jit_event_handler gdb/jit: enable tracking multiple JITer objfiles gdb/breakpoint.c | 3 +- gdb/jit.c | 357 +++++++------------ gdb/jit.h | 4 +- gdb/objfiles.h | 50 +++ gdb/testsuite/gdb.base/jit-reader-simple.exp | 43 ++- 5 files changed, 234 insertions(+), 223 deletions(-) -- 2.17.1