Message ID | 8b853ddc70117ba5a6a357c2833070a6c3f160d2.1666341010.git.aburgess@redhat.com |
---|---|
State | New |
Headers |
Return-Path: <gdb-patches-bounces+patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 697623852759 for <patchwork@sourceware.org>; Fri, 21 Oct 2022 08:44:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 697623852759 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1666341871; bh=BKkXMttAX/BMDxMR5TVs8BDlEgqLcrdv46TSGdn8Yuo=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=eRFi9eJ/0EliR6YZDqxmZfU6m5G2/xZ4QdAYNxEIXfH6HOGlDLYYDp8XubeuaSl8k xmh2fJYWZ/d40qmPDe6Slog5e5nAIYLaQsx2pgibjeJg+m1UkAXVIvktt3ZXvpG2lj tWBJES86bRpmkBBkVvPyGQExokeyDrMl8djWW8VE= X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 5692038560A4 for <gdb-patches@sourceware.org>; Fri, 21 Oct 2022 08:43:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 5692038560A4 Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-541-5IOPUF2VMkW3dgRZcy6e7A-1; Fri, 21 Oct 2022 04:43:54 -0400 X-MC-Unique: 5IOPUF2VMkW3dgRZcy6e7A-1 Received: by mail-wm1-f72.google.com with SMTP id v125-20020a1cac83000000b003bd44dc5242so3020237wme.7 for <gdb-patches@sourceware.org>; Fri, 21 Oct 2022 01:43:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BKkXMttAX/BMDxMR5TVs8BDlEgqLcrdv46TSGdn8Yuo=; b=JhnwQvarYQYVwetueR/5Dhb7EWxN9O+CRQQBbEePz7MPyq1xiFlf+kopMfFDH3AV5m ypsM8Sica9H2voAShXay5Jp46RfpxixOSEUSyxcHd0crYoaFsdqwXCGX9DJyJWdztCB2 uk+X5MIUbipBS3+/r77e1fv3XmTYBiVwYQh5tYBvo2eyaI4rC2+dkspNarxv5gzxgjGK kwki6UImStSnygplFuPC0zDmUjOosFBsC9X7ePRG9tmP0oKhiaBfNK/Wf2JVVcGsSpJD 7jWtSj2PzCActi/jjBMqzu6+XEySZq/hlFanTkXYk+KW2d83Do9EXjmOKJVk6Dbq7SYm BAKA== X-Gm-Message-State: ACrzQf0Lv5Ls704dbmVYGaubmXBC/BwE8BMo1YWttsYs1Lj5W97k3gpX 45qCa3hiJhNPQAKxnMKiBHAxH4oENWVkRjY4Y0eyxJ/syN0eX70FJO55h+l7vR1IRPyRZP8X78k Jdcgz0rBQ8STvJfT5OaT7/2ywKK3uSx5K/rV2mSwkGH3uudpALtVybsqRcIJxSBR5TXcB2a4pBw == X-Received: by 2002:a1c:e90b:0:b0:3b4:fb6c:7654 with SMTP id q11-20020a1ce90b000000b003b4fb6c7654mr12049026wmc.98.1666341833503; Fri, 21 Oct 2022 01:43:53 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4J0X/d3XGBHPFlTi6n3yMA9TevBeo1cu/dugW2a3OVeGoDfmvClTOiNm0WKWyYly2CfY/g+w== X-Received: by 2002:a1c:e90b:0:b0:3b4:fb6c:7654 with SMTP id q11-20020a1ce90b000000b003b4fb6c7654mr12049018wmc.98.1666341833319; Fri, 21 Oct 2022 01:43:53 -0700 (PDT) Received: from localhost ([31.111.84.238]) by smtp.gmail.com with ESMTPSA id e38-20020a5d5966000000b0022afce9ea93sm18315876wri.40.2022.10.21.01.43.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Oct 2022 01:43:53 -0700 (PDT) To: gdb-patches@sourceware.org Subject: [PATCH 02/12] gdb/infrun: add debug print in print_signal_received_reason Date: Fri, 21 Oct 2022 09:43:38 +0100 Message-Id: <8b853ddc70117ba5a6a357c2833070a6c3f160d2.1666341010.git.aburgess@redhat.com> X-Mailer: git-send-email 2.25.4 In-Reply-To: <cover.1666341010.git.aburgess@redhat.com> References: <cover.1666341010.git.aburgess@redhat.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true X-Spam-Status: No, score=-11.7 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list <gdb-patches.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/gdb-patches/> List-Post: <mailto:gdb-patches@sourceware.org> List-Help: <mailto:gdb-patches-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=subscribe> From: Andrew Burgess via Gdb-patches <gdb-patches@sourceware.org> Reply-To: Andrew Burgess <aburgess@redhat.com> Errors-To: gdb-patches-bounces+patchwork=sourceware.org@sourceware.org Sender: "Gdb-patches" <gdb-patches-bounces+patchwork=sourceware.org@sourceware.org> |
Series |
Infcalls from B/P conditions in multi-threaded inferiors
|
|
Commit Message
Andrew Burgess
Oct. 21, 2022, 8:43 a.m. UTC
It would have helped me to see an infrun debug line being printed from print_signal_received_reason, so I'm adding one. --- gdb/infrun.c | 2 ++ 1 file changed, 2 insertions(+)
Comments
Andrew Burgess <aburgess@redhat.com> writes: > It would have helped me to see an infrun debug line being printed from > print_signal_received_reason, so I'm adding one. I've gone ahead and pushed this patch, it's only adding a single debug line so I don't think anyone will complain. Thanks, Andrew > --- > gdb/infrun.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/gdb/infrun.c b/gdb/infrun.c > index 39840ef32c8..c28bf28a4d9 100644 > --- a/gdb/infrun.c > +++ b/gdb/infrun.c > @@ -8393,6 +8393,8 @@ print_signal_received_reason (struct ui_out *uiout, enum gdb_signal siggnal) > { > struct thread_info *thr = inferior_thread (); > > + infrun_debug_printf ("signal = %s", gdb_signal_to_string (siggnal)); > + > annotate_signal (); > > if (uiout->is_mi_like_p ()) > -- > 2.25.4
diff --git a/gdb/infrun.c b/gdb/infrun.c index 39840ef32c8..c28bf28a4d9 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -8393,6 +8393,8 @@ print_signal_received_reason (struct ui_out *uiout, enum gdb_signal siggnal) { struct thread_info *thr = inferior_thread (); + infrun_debug_printf ("signal = %s", gdb_signal_to_string (siggnal)); + annotate_signal (); if (uiout->is_mi_like_p ())