summaryrefslogtreecommitdiff
path: root/gdb/configure
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2012-09-27 12:53:42 +0000
committerJoel Brobecker <brobecker@gnat.com>2012-09-27 12:53:42 +0000
commit974f1b35378e4c2b21a0b6f92a9f8b2bbf17cf2e (patch)
treeb6b580b7c4ef3653de8cd55b668ee0ac6ec59989 /gdb/configure
parent453318230dfad93ed502394eb0276936c0d8cd60 (diff)
downloadgdb-974f1b35378e4c2b21a0b6f92a9f8b2bbf17cf2e.tar.gz
New unit sparc-sol-thread.c extracted from sol-thread.c
Moving some sparc-specific routines out of sol-thread.c into their own (new) file. gdb/ChangeLog: * sol-thread.c (ps_lgetxregsize, ps_lgetxregs, ps_lsetxregs): Move these functions to sparc-sol-thread.c. * sparc-sol-thread.c: New file. * configure.ac: Add sparc-sol-thread.o to CONFIG_OBS and sparc-sol-thread.c to CONFIG_SRCS for sparc-solaris native configurations. * configure: Regenerate.
Diffstat (limited to 'gdb/configure')
-rwxr-xr-xgdb/configure7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/configure b/gdb/configure
index f1a8f0fac3a..d913de6e7ef 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -11969,6 +11969,13 @@ $as_echo "#define HAVE_THREAD_DB_LIB 1" >>confdefs.h
CONFIG_OBS="${CONFIG_OBS} sol-thread.o"
CONFIG_SRCS="${CONFIG_SRCS} sol-thread.c"
+ # On SPARC CPUs, we also need to build sparc-sol-thread.
+ case ${host_cpu} in
+ sparc*)
+ CONFIG_OBS="${CONFIG_OBS} sparc-sol-thread.o"
+ CONFIG_SRCS="${CONFIG_SRCS} sparc-sol-thread.c"
+ ;;
+ esac
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
$as_echo_n "checking for dlopen in -ldl... " >&6; }
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :