diff options
author | marius <marius@FreeBSD.org> | 2011-08-06 17:53:45 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2011-08-06 17:53:45 +0000 |
commit | 4f6bed279cf88a1effc620907076b76f5ceebd07 (patch) | |
tree | d4f7e48291aa2b2c5afc7ad73d2d76b0eeb42330 /gnu | |
parent | 446800d1666d90b7e67f2537bd9013b98d6b39a8 (diff) | |
download | FreeBSD-src-4f6bed279cf88a1effc620907076b76f5ceebd07.zip FreeBSD-src-4f6bed279cf88a1effc620907076b76f5ceebd07.tar.gz |
Compile fbsd-threads.c. Amongst others this is necessary for a working
kgdb(1).
Reviewed by: marcel
Approved by: re (kib)
MFC after: 1 week
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/gdb/arch/sparc64/Makefile | 1 | ||||
-rw-r--r-- | gnu/usr.bin/gdb/arch/sparc64/init.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/gnu/usr.bin/gdb/arch/sparc64/Makefile b/gnu/usr.bin/gdb/arch/sparc64/Makefile index b985711..9d77172 100644 --- a/gnu/usr.bin/gdb/arch/sparc64/Makefile +++ b/gnu/usr.bin/gdb/arch/sparc64/Makefile @@ -1,6 +1,7 @@ # $FreeBSD$ .if !defined(GDB_CROSS_DEBUGGER) +LIBSRCS+= fbsd-threads.c LIBSRCS+= solib.c solib-legacy.c solib-svr4.c LIBSRCS+= sparc-nat.c sparc64-nat.c sparc64fbsd-nat.c .endif diff --git a/gnu/usr.bin/gdb/arch/sparc64/init.c b/gnu/usr.bin/gdb/arch/sparc64/init.c index 25f4658..d2cf24e 100644 --- a/gnu/usr.bin/gdb/arch/sparc64/init.c +++ b/gnu/usr.bin/gdb/arch/sparc64/init.c @@ -11,6 +11,7 @@ extern initialize_file_ftype _initialize_corelow; extern initialize_file_ftype _initialize_ser_hardwire; extern initialize_file_ftype _initialize_ser_pipe; extern initialize_file_ftype _initialize_ser_tcp; +extern initialize_file_ftype _initialize_thread_db; extern initialize_file_ftype _initialize_sparc64fbsd_nat; extern initialize_file_ftype _initialize_sparc64_nat; extern initialize_file_ftype _initialize_sparc_nat; @@ -124,6 +125,7 @@ initialize_all_files (void) _initialize_ser_pipe (); _initialize_ser_tcp (); #ifndef CROSS_DEBUGGER + _initialize_thread_db (); _initialize_sparc64fbsd_nat (); _initialize_sparc64_nat (); _initialize_sparc_nat (); |