From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 49BFD385802C for ; Thu, 10 Mar 2022 20:54:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 49BFD385802C Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-49-H6mIHk6aN86Oau9dCBEC6g-1; Thu, 10 Mar 2022 15:54:45 -0500 X-MC-Unique: H6mIHk6aN86Oau9dCBEC6g-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 1C3DA1800D50; Thu, 10 Mar 2022 20:54:44 +0000 (UTC) Received: from fedora.redhat.com (unknown [10.22.19.18]) by smtp.corp.redhat.com (Postfix) with ESMTP id D01EE6AB8B; Thu, 10 Mar 2022 20:54:39 +0000 (UTC) From: Aaron Merey To: gdb-patches@sourceware.org Cc: tom@tromey.com, pedro@palves.net, Aaron Merey Subject: [OB PATCH] gdb/auto-load: Remove repeating "auto-load" from debug message Date: Thu, 10 Mar 2022 15:54:33 -0500 Message-Id: <20220310205433.143404-1-amerey@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" X-Spam-Status: No, score=-12.8 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_H5, RCVD_IN_MSPIKE_WL, 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 Mar 2022 20:54:50 -0000 Remove "auto-load:" from a format string passed to auto_load_debug_printf. It is unnecessary since this function will prefix the string with "[auto-load]" when printing it. --- gdb/auto-load.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gdb/auto-load.c b/gdb/auto-load.c index 5253b320543..5f530d080c3 100644 --- a/gdb/auto-load.c +++ b/gdb/auto-load.c @@ -841,8 +841,7 @@ auto_load_objfile_script (struct objfile *objfile, realname.get ()[len] = '\0'; auto_load_debug_printf - ("auto-load: Stripped .exe suffix, retrying with \"%s\".", - realname.get ()); + ("Stripped .exe suffix, retrying with \"%s\".", realname.get ()); auto_load_objfile_script_1 (objfile, realname.get (), language); return; -- 2.35.1