[binutils-gdb] Fix the --disable-libctf build

Tom Tromey via Gdb-cvs <[email protected]>
Newsgroups gmane.comp.gdb.cvs
Message-ID <[email protected]>
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ab18b3e722dd20fa063df5391f8f31d7a17f2e92

commit ab18b3e722dd20fa063df5391f8f31d7a17f2e92
Author: Tom Tromey <[email protected]>
Date:   Thu Mar 12 11:17:31 2026 -0600

    Fix the --disable-libctf build
    
    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".

Diff:
---
 gdb/ctfread.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdb/ctfread.c b/gdb/ctfread.c
index dc8a32898e0..3de7e8d54ef 100644
--- a/gdb/ctfread.c
+++ b/gdb/ctfread.c
@@ -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.  */
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.