From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by sourceware.org (Postfix) with ESMTPS id 5F87A385840D for ; Thu, 1 Jun 2023 16:34:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5F87A385840D Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1685637249; x=1717173249; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=3ZnONwxmaT1sSQs+retb57X0wkZgtDmogm/LK4jpDt8=; b=TQ66GPZNvDA9BqAKomGBdSRu3UiQxsbo3056NJlUqEUcDfWieczUHw6U vEeYdExyTDqrsqFJntmr4M9ChMfScZ2TwC5h3/i8bs8LDrb4rz7C/fP8P v1a64ZIua6oTBoXrPsYUXIPUYvLjzJL4OdXVeXfZPWZ53h6UBDsiMmQ3Y qrw1U2VjXyv35GYfppMvctuj+iTquuJ65DkDElIy4KSTI9NUfCj+Kgr2s HWNQ0TLmeiM/4zN+CUJ3y79dZdExt59eVCWbQDDGLCjPDoN1ZeEls9q9I OxLS9uxrkMv8k77z3zXTUJbdMxE0YO5TVzTBYIv77tdo/uspSpgwaT8ml g==; X-IronPort-AV: E=McAfee;i="6600,9927,10728"; a="358034289" X-IronPort-AV: E=Sophos;i="6.00,210,1681196400"; d="scan'208";a="358034289" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Jun 2023 09:34:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10728"; a="851762356" X-IronPort-AV: E=Sophos;i="6.00,210,1681196400"; d="scan'208";a="851762356" Received: from labpc2315.iul.intel.com (HELO localhost) ([172.28.50.57]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Jun 2023 09:34:06 -0700 From: Christina Schimpe To: gdb-patches@sourceware.org Cc: aburgess@redhat.com, eliz@gnu.org, simark@simark.ca Subject: [PATCH v4 0/1] Add breakpoint location debugging logs Date: Thu, 1 Jun 2023 18:33:44 +0200 Message-Id: <20230601163345.3895525-1-christina.schimpe@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.0 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,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi all, this is my v4 for the patch "gdb, breakpoint: add breakpoint location debugging logs", which addresses the feedback of Simon and Andrew. The documentation part has been approved by Eli. V3 of this patch can be found here: https://sourceware.org/pipermail/gdb-patches/2023-March/198301.html Changes since V3: * Replace "breakpoint_location_to_buffer" by "to_string" function on the bp_location class * Add another helper function to create strings for debug log * Use ui_out_redirect_pop instead of ui_out::redirect directly * Add a remove_bp_reason_str function to convert an enum remove_bp_reason * Use DIAGNOSTIC_ERROR_SWITCH * Some other small nits Regards, Christina Mihails Strasuns (1): gdb, breakpoint: add breakpoint location debugging logs gdb/NEWS | 5 +++ gdb/breakpoint.c | 107 ++++++++++++++++++++++++++++++++++++++++++++ gdb/breakpoint.h | 4 ++ gdb/doc/gdb.texinfo | 8 ++++ 4 files changed, 124 insertions(+) -- 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