* [OB PATCH] gdb/auto-load: Remove repeating "auto-load" from debug message
@ 2022-03-10 20:54 Aaron Merey
0 siblings, 0 replies; only message in thread
From: Aaron Merey @ 2022-03-10 20:54 UTC (permalink / raw)
To: gdb-patches; +Cc: tom, pedro, Aaron Merey
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-03-10 20:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-10 20:54 [OB PATCH] gdb/auto-load: Remove repeating "auto-load" from debug message Aaron Merey
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).