From e15454475fa7ffa3daf0ac17b33a907983897004 Mon Sep 17 00:00:00 2001 From: Aaron Merey Date: Thu, 10 Mar 2022 15:31:33 -0500 Subject: 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. --- gdb/auto-load.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gdb') diff --git a/gdb/auto-load.c b/gdb/auto-load.c index 5253b32..5f530d0 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; -- cgit v1.1