public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
From: Aaron Merey <amerey@sourceware.org>
To: gdb-cvs@sourceware.org
Subject: [binutils-gdb] gdb/auto-load: Remove repeating "auto-load" from debug message
Date: Thu, 10 Mar 2022 20:52:22 +0000 (GMT)	[thread overview]
Message-ID: <20220310205222.7A1383858D39@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e15454475fa7ffa3daf0ac17b33a907983897004

commit e15454475fa7ffa3daf0ac17b33a907983897004
Author: Aaron Merey <amerey@redhat.com>
Date:   Thu Mar 10 15:31:33 2022 -0500

    gdb/auto-load: Remove repeating "auto-load" from debug message
    
    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.

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] = '\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;


                 reply	other threads:[~2022-03-10 20:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220310205222.7A1383858D39@sourceware.org \
    --to=amerey@sourceware.org \
    --cc=gdb-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).