diff --git a/gnu/usr.bin/gdb/arch/powerpc/Makefile b/gnu/usr.bin/gdb/arch/powerpc/Makefile index 163fd2853887..fa41a237d1f7 100644 --- a/gnu/usr.bin/gdb/arch/powerpc/Makefile +++ b/gnu/usr.bin/gdb/arch/powerpc/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ .if !defined(GDB_CROSS_DEBUGGER) -LIBSRCS+= fbsd-proc.c gcore.c +LIBSRCS+= fbsd-proc.c fbsd-threads.c gcore.c LIBSRCS+= ppcfbsd-nat.c .endif LIBSRCS+= solib.c solib-svr4.c diff --git a/gnu/usr.bin/gdb/arch/powerpc/init.c b/gnu/usr.bin/gdb/arch/powerpc/init.c index 5e0aa8fe88c4..5b96bd5137a2 100644 --- a/gnu/usr.bin/gdb/arch/powerpc/init.c +++ b/gnu/usr.bin/gdb/arch/powerpc/init.c @@ -19,6 +19,7 @@ extern initialize_file_ftype _initialize_kernel_u_addr; extern initialize_file_ftype _initialize_infptrace; extern initialize_file_ftype _initialize_inftarg; extern initialize_file_ftype _initialize_ppcfbsd_nat; +extern initialize_file_ftype _initialize_thread_db; extern initialize_file_ftype _initialize_remote; extern initialize_file_ftype _initialize_dcache; extern initialize_file_ftype _initialize_sr_support; @@ -131,6 +132,7 @@ initialize_all_files (void) _initialize_infptrace (); _initialize_inftarg (); _initialize_ppcfbsd_nat (); + _initialize_thread_db (); #endif _initialize_remote (); _initialize_dcache ();