summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Merey <amerey@redhat.com>2022-03-10 15:31:33 -0500
committerAaron Merey <amerey@redhat.com>2022-03-10 15:50:59 -0500
commite15454475fa7ffa3daf0ac17b33a907983897004 (patch)
tree33aa45c2c61cef8399762bfe3aacb55bdc145c5d
parent56262a931b7ca8ee3ec9104bc7e9e0b40cf3d64e (diff)
downloadbinutils-gdb-e15454475fa7ffa3daf0ac17b33a907983897004.tar.gz
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.
-rw-r--r--gdb/auto-load.c3
1 files changed, 1 insertions, 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;