diff options
author | Joel Brobecker <brobecker@gnat.com> | 2012-09-27 12:53:44 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2012-09-27 12:53:44 +0000 |
commit | 43c75337b68375e451cc441a739b9e654894f558 (patch) | |
tree | 46bc3abd50a266d21e5262987630229ba8109809 /gdb/configure | |
parent | d292a9723dae9eb829d077bc8d3d76a87f75553f (diff) | |
download | gdb-43c75337b68375e451cc441a739b9e654894f558.zip gdb-43c75337b68375e451cc441a739b9e654894f558.tar.gz gdb-43c75337b68375e451cc441a739b9e654894f558.tar.bz2 |
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-x | gdb/configure | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/configure b/gdb/configure index f1a8f0f..d913de6 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 : |