From 6a4e53f39d1259ed0b5f3ee0a5d638596a322d4e Mon Sep 17 00:00:00 2001 From: marcel Date: Tue, 1 May 2007 18:29:34 +0000 Subject: Add threading support. --- gnu/usr.bin/gdb/arch/powerpc/Makefile | 2 +- gnu/usr.bin/gdb/arch/powerpc/init.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gnu/usr.bin/gdb/arch/powerpc/Makefile b/gnu/usr.bin/gdb/arch/powerpc/Makefile index 163fd28..fa41a23 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 5e0aa8f..5b96bd5 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 (); -- cgit v1.1