1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-13 10:02:38 +00:00

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
This commit is contained in:
Marius Strobl 2011-08-06 17:53:45 +00:00
parent 6055164bb1
commit 39c5320dad
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=224687
2 changed files with 3 additions and 0 deletions

View File

@ -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

View File

@ -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 ();