From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27723 invoked by alias); 16 Jan 2003 18:27:14 -0000 Mailing-List: contact rda-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: rda-owner@sources.redhat.com Received: (qmail 27558 invoked from network); 16 Jan 2003 18:27:09 -0000 Date: Thu, 16 Jan 2003 18:27:00 -0000 From: Kevin Buettner Message-Id: <1030116182702.ZM31298@localhost.localdomain> X-Mailer: Z-Mail (4.0.1 13Jan97 Caldera) To: rda@sources.redhat.com Subject: [PATCH] Enable thread support for mips64 linux targets MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-q1/txt/msg00001.txt.bz2 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)