From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by sourceware.org (Postfix) with ESMTPS id 8B9293858C60 for ; Thu, 10 Feb 2022 13:53:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 8B9293858C60 X-IronPort-AV: E=McAfee;i="6200,9189,10253"; a="249699565" X-IronPort-AV: E=Sophos;i="5.88,358,1635231600"; d="scan'208";a="249699565" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Feb 2022 05:52:54 -0800 X-IronPort-AV: E=Sophos;i="5.88,358,1635231600"; d="scan'208";a="526484803" Received: from sugan-001.iul.intel.com (HELO localhost) ([172.28.48.31]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Feb 2022 05:52:53 -0800 From: Ari Hannula To: gdb-patches@sourceware.org Subject: [PATCH 0/5] Functions call history patches Date: Thu, 10 Feb 2022 14:52:38 +0100 Message-Id: <20220210135243.3127629-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=-4.1 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE 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: Thu, 10 Feb 2022 13:53:08 -0000 Hi all, On behalf of Tim and Ravi, who no longer work at Intel, I am posting these patches for review. They make some fixes to function call history tests and add new MI commands to access the function call history, including tests. Regards, Ari Tim Wiederhake (4): [func_call] Add possible spelling of linker error message. [func_call] Fix MI output for function call history. [func_call] Add function-call-history-length command to MI. [func_call] Add function-call-history command to MI. ravitheja.addepally (1): [func_call] New tests for a btrace crash. gdb/mi/mi-cmds.c | 13 +- gdb/mi/mi-cmds.h | 2 + gdb/record-btrace.c | 38 +++- gdb/record.c | 61 ++++++ gdb/record.h | 11 ++ gdb/target-delegates.c | 23 +++ gdb/target.c | 8 + gdb/target.h | 7 + ...rver-multithreaded-function-call-history.c | 70 +++++++ ...er-multithreaded-function-call-history.exp | 61 ++++++ .../gdb.mi/mi-function_call_history.c | 43 ++++ .../gdb.mi/mi-function_call_history.exp | 183 ++++++++++++++++++ gdb/testsuite/lib/gdb.exp | 3 + 13 files changed, 513 insertions(+), 10 deletions(-) create mode 100644 gdb/testsuite/gdb.btrace/server-multithreaded-function-call-history.c create mode 100644 gdb/testsuite/gdb.btrace/server-multithreaded-function-call-history.exp 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