public inbox for rda@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Enable thread support for mips64 linux targets
@ 2003-01-16 18:27 Kevin Buettner
  0 siblings, 0 replies; only message in thread
From: Kevin Buettner @ 2003-01-16 18:27 UTC (permalink / raw)
  To: rda

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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-01-16 18:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-16 18:27 [PATCH] Enable thread support for mips64 linux targets Kevin Buettner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).