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.ac | |
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.ac')
-rw-r--r-- | gdb/configure.ac | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac index 0c62b46..c0fd0e1 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -1719,6 +1719,13 @@ if test ${build} = ${host} -a ${host} = ${target} ; then [Define if using Solaris thread debugging.]) 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 AC_CHECK_LIB(dl, dlopen) CONFIG_LDFLAGS="${CONFIG_LDFLAGS} $RDYNAMIC" # Sun randomly tweaked the prototypes in <proc_service.h> |