forked from Imagelibrary/binutils-gdb
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.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user