From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by sourceware.org (Postfix) with ESMTPS id B5FDE3858D28 for ; Mon, 25 Apr 2022 14:48:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B5FDE3858D28 X-IronPort-AV: E=McAfee;i="6400,9594,10328"; a="290404979" X-IronPort-AV: E=Sophos;i="5.90,288,1643702400"; d="scan'208";a="290404979" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Apr 2022 07:48:14 -0700 X-IronPort-AV: E=Sophos;i="5.90,288,1643702400"; d="scan'208";a="579320257" Received: from sugan-001.iul.intel.com (HELO localhost) ([172.28.49.38]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Apr 2022 07:48:13 -0700 From: Ari Hannula To: gdb-patches@sourceware.org Subject: [PATCH v2 0/2] Functions call history patches Date: Mon, 25 Apr 2022 16:48:02 +0200 Message-Id: <20220425144804.142691-1-ari.hannula@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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: Mon, 25 Apr 2022 14:48:18 -0000 Hi, I have reworked two of the patches that were posted in v1. The rest I have decided to drop based on review comments. These patches are now only related to Function Call History MI commands. V1 of this series can be found here: https://sourceware.org/pipermail/gdb-patches/2022-February/185814.html Changes since V1: * Removed 3 patches from this patchset. * Moved functions from record.c to new file mi/mi-cmd-record.c. * Removed some unrelated changes * Addressed review comments in tests Regards, Ari Tim Wiederhake (2): [func_call] Add function-call-history-length command to MI. [func_call] Add function-call-history command to MI. gdb/Makefile.in | 1 + gdb/mi/mi-cmd-record.c | 83 ++++++++ gdb/mi/mi-cmd-record.h | 32 +++ gdb/mi/mi-cmds.c | 3 + gdb/mi/mi-cmds.h | 2 + gdb/record-btrace.c | 38 +++- gdb/record.c | 28 +-- gdb/record.h | 18 ++ gdb/target-delegates.c | 23 +++ gdb/target.c | 8 + gdb/target.h | 7 + .../gdb.mi/mi-function_call_history.c | 43 ++++ .../gdb.mi/mi-function_call_history.exp | 184 ++++++++++++++++++ 13 files changed, 452 insertions(+), 18 deletions(-) create mode 100644 gdb/mi/mi-cmd-record.c create mode 100644 gdb/mi/mi-cmd-record.h create mode 100644 gdb/testsuite/gdb.mi/mi-function_call_history.c create mode 100644 gdb/testsuite/gdb.mi/mi-function_call_history.exp -- 2.25.1 Intel Deutschland GmbH Registered Address: Am Campeon 10, 85579 Neubiberg, Germany Tel: +49 89 99 8853-0, www.intel.de Managing Directors: Christin Eisenschmid, Sharon Heck, Tiffany Doon Silva Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich Commercial Register: Amtsgericht Muenchen HRB 186928