This is the mail archive of the rda@sources.redhat.com mailing list for the rda project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Enable thread support for mips64 linux targets


I've just committed the patch below.

LIBTHREAD_DB_SO doesn't need to be in config.in right now.  I thought I
needed it for a while (and had actually changed configure.in to modify
it for n32 and n64), but it turned out to not be necessary.  I'm leaving
it in config.in though to make it easier to change it in configure.in
in the future if the need should arise.

	* config.in (LIBTHREAD_DB_SO): New macro.
	* configure.in (mips64*linux*): Remove no-threads.o from
	TARGET_MODULES list.  Add thread-db.o to this list.
	* configure: Regenerate.

Index: unix/config.in
===================================================================
RCS file: /cvs/src/src/rda/unix/config.in,v
retrieving revision 1.2
diff -u -p -r1.2 config.in
--- unix/config.in	27 Nov 2002 21:28:31 -0000	1.2
+++ unix/config.in	16 Jan 2003 18:13:53 -0000
@@ -130,3 +130,6 @@
 
 /* Define if system headers will define prfpregset_t */
 #undef HAVE_PRFPREGSET_T
+
+/* Define name / location of libthread_db.so */
+#undef LIBTHREAD_DB_SO
Index: unix/configure.in
===================================================================
RCS file: /cvs/src/src/rda/unix/configure.in,v
retrieving revision 1.2
diff -u -p -r1.2 configure.in
--- unix/configure.in	27 Nov 2002 21:28:31 -0000	1.2
+++ unix/configure.in	16 Jan 2003 18:13:54 -0000
@@ -31,7 +31,7 @@ dnl define ptrace_arg3_type
 
 case "$target" in
   mips64*linux*)
-    TARGET_MODULES="linux-target.o no-threads.o ptrace-target.o" 
+    TARGET_MODULES="linux-target.o thread-db.o ptrace-target.o" 
     AC_DEFINE(LINUX_TARGET)
     AC_DEFINE(GREGSET_T,  prgregset_t)
     AC_DEFINE(FPREGSET_T, prfpregset_t)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]