From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id WMnDLkiJwWMGGRYAWB0awg (envelope-from ) for ; Fri, 13 Jan 2023 11:39:36 -0500 Received: by simark.ca (Postfix, from userid 112) id BCEEB1E128; Fri, 13 Jan 2023 11:39:36 -0500 (EST) 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=FEl0a6F3; 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=-5.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from sourceware.org (server2.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 77E5F1E110 for ; Fri, 13 Jan 2023 11:39:36 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id EE2F93846054 for ; Fri, 13 Jan 2023 16:39:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EE2F93846054 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1673627975; bh=UgPGmwdJPiylnxnlYvLFtxL0QfyyhT+Dv9ruPtuqjVk=; h=To:Subject:In-Reply-To:References:Date:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=FEl0a6F3mBe/b3/vCcm09YrP+6DvJ6KRAUFAi+I94AZRCVB/Y6/MKOnRfRkbaSlQ8 6wyw0s5SoT+jo8qn61sagz6M0vuEWZM76dKPqpl6gQ+J17r3VUqql303RlsrE5T9t8 354noCVFFvQUUgrOXHpNzpFLFe8AZrcMFsmpCUoc= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 451413858004 for ; Fri, 13 Jan 2023 16:39:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 451413858004 Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-532-xq3rBApYOhKOccmUCnR8Lg-1; Fri, 13 Jan 2023 11:39:01 -0500 X-MC-Unique: xq3rBApYOhKOccmUCnR8Lg-1 Received: by mail-wr1-f70.google.com with SMTP id r10-20020adfa14a000000b0025ba73dff40so4321700wrr.12 for ; Fri, 13 Jan 2023 08:39:01 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=UgPGmwdJPiylnxnlYvLFtxL0QfyyhT+Dv9ruPtuqjVk=; b=fQ2rRUGN700VB44MKafLlg3XvMbbCr8QXRPCeNXGmsDJbAzbgL9UpxTXwMRr8OOtJg E5f+G3c1Tpr+pKYWZsk+ixZEA5jnb5/yPSZXFdPWTjL8GDfzdSWzTs57bG82Osc97UDm 4bfzoqvb28wc5p+qSu//TIvavKYIwALNv+X8syEiCupI3pSv17KmwYiANnNJnYZVde07 Zhih61cDQK2I0y2UHQqZnfSw1zJQHHew2T4PTNM6DRWGs3u2xh5O4D9A7corMr6Zb9NJ VHyuO9icXlLdjl7jSH3LTVg/nRpoS8FVs9M37gREaRwWoCixL2glxfXcBABWTI1+keB8 xQLQ== X-Gm-Message-State: AFqh2kpXcweF3CsJf+tzFwEqYxmEE32pnfaUK7w9X1CPiUxGsKNlTY7i Dss1jVTPFQbJzhNaoxF6FGUwq+qk99uI6aH6HW1aG2VJiBn+TTEME9l+NaSeRr3t3L8CERLHwH2 uFpkVIDd5foQPmHN6bo/h67JCiGw0Vc+2GDkRAKECWVE4RYJ2L5P5VlZkecHf8j4Rr/+XfY0K6w == X-Received: by 2002:a05:600c:3552:b0:3d9:f801:bb6 with SMTP id i18-20020a05600c355200b003d9f8010bb6mr11902631wmq.10.1673627940352; Fri, 13 Jan 2023 08:39:00 -0800 (PST) X-Google-Smtp-Source: AMrXdXuKstKKaxWqJGVtSrp4AvjfbrwF5qITpQOU6KEkpDPg44cTewLYWtuotUpiOR4grW6kNH5wRg== X-Received: by 2002:a05:600c:3552:b0:3d9:f801:bb6 with SMTP id i18-20020a05600c355200b003d9f8010bb6mr11902618wmq.10.1673627940130; Fri, 13 Jan 2023 08:39:00 -0800 (PST) Received: from localhost (95.72.115.87.dyn.plus.net. [87.115.72.95]) by smtp.gmail.com with ESMTPSA id q1-20020a1ce901000000b003b3307fb98fsm24584627wmc.24.2023.01.13.08.38.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Jan 2023 08:38:59 -0800 (PST) To: gdb-patches@sourceware.org Subject: Re: [PATCH 02/12] gdb/infrun: add debug print in print_signal_received_reason In-Reply-To: <8b853ddc70117ba5a6a357c2833070a6c3f160d2.1666341010.git.aburgess@redhat.com> References: <8b853ddc70117ba5a6a357c2833070a6c3f160d2.1666341010.git.aburgess@redhat.com> Date: Fri, 13 Jan 2023 16:38:59 +0000 Message-ID: <87tu0ufkyk.fsf@redhat.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain 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: Andrew Burgess via Gdb-patches Reply-To: Andrew Burgess Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" Andrew Burgess 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