From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by sourceware.org (Postfix) with ESMTPS id 821193857C46 for ; Fri, 9 Oct 2020 11:27:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 821193857C46 IronPort-SDR: 5nF8y4kC3wUjdexEvXuEG+VtLK5j2XxJtdMM43q1HbGr+pbWVn4jmdnvbxLVSbos/BI2NAj63N VqsGmHq0RIVQ== X-IronPort-AV: E=McAfee;i="6000,8403,9768"; a="165533889" X-IronPort-AV: E=Sophos;i="5.77,354,1596524400"; d="scan'208";a="165533889" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Oct 2020 04:27:43 -0700 IronPort-SDR: B3Kvhwa127931j58gZXmX1wLolJDvGn90c7qsJOvGLDXnmNhTWTlX1USEpX9R0qGlM/bQSHZIA I85gUuGk8udQ== X-IronPort-AV: E=Sophos;i="5.77,354,1596524400"; d="scan'208";a="462156321" Received: from ulll2701.iul.intel.com (HELO localhost) ([172.28.50.171]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Oct 2020 04:27:42 -0700 From: Natalia Saiapova To: gdb-patches@sourceware.org Subject: [PATCH v2 0/6] Fix inferior calls from breakpoint condition Date: Fri, 9 Oct 2020 13:27:12 +0200 Message-Id: <20201009112719.629-1-natalia.saiapova@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200831123519.16232-1-natalia.saiapova () intel ! com> References: <20200831123519.16232-1-natalia.saiapova () intel ! com> X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham 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: Fri, 09 Oct 2020 11:27:48 -0000 Hi, This is the rebased on top of 51a948fdf0e gdb: Have allocate_target_description return a unique_ptr version of https://sourceware.org/pipermail/gdb-patches/2020-August/171592.html. The patch set is tested on x86_64-pc-linux-gnu configuration, the default and gdbserver-native boards. Regards, --Natalia Natalia Saiapova: Tankut Baris Aktemur: gdb: add in_cond_eval field to thread_control_state struct. gdb/infrun: in condition evaluation resume only current thread. gdb/infcall: in condition evaluation register target back after infcall. gdb/infrun: in condition evaluation wait only for the current inferior. gdb/infrun: in condition evaluation do not stop all threads. gdb/testsuite: add tests for inferior calls in breakpoint conditions. gdb/breakpoint.c | 3 + gdb/gdbthread.h | 3 + gdb/infcall.c | 3 + gdb/infrun.c | 35 +++++++-- gdb/testsuite/gdb.threads/infcall-bp-cond.c | 58 +++++++++++++++ gdb/testsuite/gdb.threads/infcall-bp-cond.exp | 73 +++++++++++++++++++ 6 files changed, 169 insertions(+), 6 deletions(-) create mode 100644 gdb/testsuite/gdb.threads/infcall-bp-cond.c create mode 100644 gdb/testsuite/gdb.threads/infcall-bp-cond.exp -- 2.17.1 Intel Deutschland GmbH Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany Tel: +49 89 99 8853-0, www.intel.de Managing Directors: Christin Eisenschmid, Gary Kershaw Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich Commercial Register: Amtsgericht Muenchen HRB 186928