]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Fix the --disable-libctf build
authorTom Tromey <tromey@adacore.com>
Thu, 12 Mar 2026 17:17:31 +0000 (11:17 -0600)
committerTom Tromey <tromey@adacore.com>
Thu, 12 Mar 2026 17:17:31 +0000 (11:17 -0600)
If you configure with --disable-libctf, currently gdb will fail to
build.  The fix is to rename the stub function elfctf_build_psymtabs
to remove the "p".

gdb/ctfread.c

index dc8a32898e0e2cd7ba8055251be6af424329d1c5..3de7e8d54efa77bab13255675d1ce965321cce5a 100644 (file)
@@ -1331,7 +1331,7 @@ elfctf_build_symtabs (objfile *objfile)
 #else
 
 void
-elfctf_build_psymtabs (struct objfile *objfile)
+elfctf_build_symtabs (struct objfile *objfile)
 {
   /* Nothing to do if CTF is disabled.  */
 }