From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2009) id 7A1383858D39; Thu, 10 Mar 2022 20:52:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7A1383858D39 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Aaron Merey To: gdb-cvs@sourceware.org Subject: [binutils-gdb] gdb/auto-load: Remove repeating "auto-load" from debug message X-Act-Checkin: binutils-gdb X-Git-Author: Aaron Merey X-Git-Refname: refs/heads/master X-Git-Oldrev: 56262a931b7ca8ee3ec9104bc7e9e0b40cf3d64e X-Git-Newrev: e15454475fa7ffa3daf0ac17b33a907983897004 Message-Id: <20220310205222.7A1383858D39@sourceware.org> Date: Thu, 10 Mar 2022 20:52:22 +0000 (GMT) X-BeenThere: gdb-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Mar 2022 20:52:22 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3De15454475fa7= ffa3daf0ac17b33a907983897004 commit e15454475fa7ffa3daf0ac17b33a907983897004 Author: Aaron Merey Date: Thu Mar 10 15:31:33 2022 -0500 gdb/auto-load: Remove repeating "auto-load" from debug message =20 Remove "auto-load:" from a format string passed to auto_load_debug_prin= tf. It is unnecessary since this function will prefix the string with "[aut= o-load]" when printing it. Diff: --- 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] =3D '\0'; =20 auto_load_debug_printf - ("auto-load: Stripped .exe suffix, retrying with \"%s\".", - realname.get ()); + ("Stripped .exe suffix, retrying with \"%s\".", realname.get ()); =20 auto_load_objfile_script_1 (objfile, realname.get (), language); return;