aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/sparc/nm-sun4sol2.h
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1996-05-14 07:02:56 +0000
committerStu Grossman <grossman@cygnus>1996-05-14 07:02:56 +0000
commit47ef0da56a772d7dca43c54523303afa2d0c73eb (patch)
tree20339009549e7beda4424a43a1a046013938c80d /gdb/config/sparc/nm-sun4sol2.h
parent572977a5525c76cd50ef6e7383134f7313467d5d (diff)
downloadfsf-binutils-gdb-47ef0da56a772d7dca43c54523303afa2d0c73eb.zip
fsf-binutils-gdb-47ef0da56a772d7dca43c54523303afa2d0c73eb.tar.gz
fsf-binutils-gdb-47ef0da56a772d7dca43c54523303afa2d0c73eb.tar.bz2
* Makefile.in config.in configure configure.in
config/sparc/nm-sun4sol2.h config/sparc/sun4sol2.mh config/sparc/tm-sun4sol2.h: Use autoconf to config Solaris thread and pthread support, since pre-2.5 systems don't come with libthread_db.so.1. * procfs.c (info_proc): Use int instead of id_t. Old versions of Irix don't see to define this.
Diffstat (limited to 'gdb/config/sparc/nm-sun4sol2.h')
-rw-r--r--gdb/config/sparc/nm-sun4sol2.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/config/sparc/nm-sun4sol2.h b/gdb/config/sparc/nm-sun4sol2.h
index 9fb58e0..c83e44d 100644
--- a/gdb/config/sparc/nm-sun4sol2.h
+++ b/gdb/config/sparc/nm-sun4sol2.h
@@ -29,6 +29,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#define PRSVADDR_BROKEN
+#ifdef HAVE_THREAD_DB_LIB
+
#ifdef __STDC__
struct objfile;
#endif
@@ -36,3 +38,5 @@ struct objfile;
#define target_new_objfile(OBJFILE) sol_thread_new_objfile (OBJFILE)
void sol_thread_new_objfile PARAMS ((struct objfile *objfile));
+
+#endif