diff options
author | Joel Brobecker <brobecker@gnat.com> | 2013-05-10 12:10:20 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2013-05-10 12:10:20 +0000 |
commit | c1357578b3f2cd7c151f74bde1d3751c32e50966 (patch) | |
tree | a2c11f2445dc9ceaf07e565b6a5a29e28a0cf108 /gdb/configure.ac | |
parent | 1e611234ee3f4a1d2434f3fe7530cab87c936e0d (diff) | |
download | gdb-c1357578b3f2cd7c151f74bde1d3751c32e50966.zip gdb-c1357578b3f2cd7c151f74bde1d3751c32e50966.tar.gz gdb-c1357578b3f2cd7c151f74bde1d3751c32e50966.tar.bz2 |
move sparc-sol-thread.c back into sol-thread.c.
The routines in sparc-sol-thread used to be SPARC-specific (and
documented as such in the ptrace man page), and therefore hosting them
in a sparc-specific file made sense. However, newer versions of
Solaris now use those callbacks (Solaris 10 Update 10, apparently),
and thus the note about these callbacks being specific to SPARC
was removed.
So this patch deletes sparc-sol-thread.c and moves the code back
inside sol-thread.c.
gdb/ChangeLog:
PR tdep/15420:
* sol-thread.c (ps_lgetxregsize, ps_lgetxregs, ps_lsetxregs):
New functions, directly copied from sparc-sol-thread.c.
* sparc-sol-thread.c: Delete.
* configure.ac: Remove code handling sparc-solaris-thread.c.
* configure: Regenerate.
Diffstat (limited to 'gdb/configure.ac')
-rw-r--r-- | gdb/configure.ac | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac index bb7fbdd..ef47cc7 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -1742,13 +1742,6 @@ 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> |