From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id OBcVMqHIeGSd1RoAWB0awg (envelope-from ) for ; Thu, 01 Jun 2023 12:34:41 -0400 Received: by simark.ca (Postfix, from userid 112) id C95A81E11E; Thu, 1 Jun 2023 12:34:41 -0400 (EDT) Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=SOhzHs3H; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RDNS_DYNAMIC,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 245D01E0D6 for ; Thu, 1 Jun 2023 12:34:41 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 523C53857024 for ; Thu, 1 Jun 2023 16:34:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 523C53857024 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1685637280; bh=efDGTgEtVi9TFMIRoQDzIXe0IA3ea3HLb3pdOH/duHA=; h=To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=SOhzHs3HielvAwZ6v79tZL5m/BQjN8UhuqUZwhiIE+JYyVgM0saZSQDfRk2/5bPGe GjmXpUS3r9QQh+yuwNIO/n1SgH5nIcxt1JnB8fjimPzuRQhoFgve/Tbmd5klNMY8BE TUTt7CvjNQSZSijPy20qKk1JT3cKpdZgHt2alqto= 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 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 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-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: , From: Christina Schimpe via Gdb-patches Reply-To: Christina Schimpe Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" 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