This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: Initialization of hpux_threads
- To: Michael Snyder <msnyder at cygnus dot com>
- Subject: Re: Initialization of hpux_threads
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Mon, 20 Mar 2000 17:40:07 +1100
- CC: John David Anglin <dave at hiauly1 dot hia dot nrc dot ca>, gdb-patches at sourceware dot cygnus dot com
- Organization: Cygnus Solutions
- References: <200003162153.QAA08326@hiauly1.hia.nrc.ca> <38D2CB7D.24B6@cygnus.com>
Michael Snyder wrote:
>
> John David Anglin wrote:
> >
> > Thu Mar 16 16:49:27 EST 2000 John David Anglin <dave@hiauly1.hia.nrc.ca>
> >
> > * configure.in: Don't call _initialize_hpux_thread twice.
> > * configure:
> >
> > --- configure.in.orig Mon Mar 6 18:30:12 2000
> > +++ configure.in Thu Mar 16 14:22:26 2000
> > @@ -330,7 +330,6 @@
> > AC_DEFINE(HAVE_HPUX_THREAD_SUPPORT)
> > CONFIG_OBS="${CONFIG_OJS} hpux-thread.o"
> > CONFIG_SRCS="${CONFIG_SRCS} hpux-thread.c"
> > - CONFIG_INITS="${CONFIG_INITS} hpux-thread.c"
> > else
> > AC_MSG_RESULT(no (suppressed because you are not using GCC))
> > fi
>
> If someone from HP will approve this, I will check it in...
No need, I've checked it in. The problem was that init.c was being
generated with two calls to ..._hpux_thread.
Thanks,
Andrew
Mon Mar 20 17:33:32 2000 Andrew Cagney <cagney@b1.cygnus.com>
From Thu Mar 16 16:49:27 EST 2000 John David Anglin
<dave@hiauly1.hia.nrc.ca>:
* configure.in (CONFIG_INITS): Don't include hpux-thread.c.
Index: configure.in
===================================================================
RCS file: /cvs/src/src/gdb/configure.in,v
retrieving revision 1.11
diff -p -r1.11 configure.in
*** configure.in 2000/03/05 22:57:05 1.11
--- configure.in 2000/03/20 06:35:10
*************** if test ${build} = ${host} -a ${host} =
*** 330,336 ****
AC_DEFINE(HAVE_HPUX_THREAD_SUPPORT)
CONFIG_OBS="${CONFIG_OJS} hpux-thread.o"
CONFIG_SRCS="${CONFIG_SRCS} hpux-thread.c"
! CONFIG_INITS="${CONFIG_INITS} hpux-thread.c"
else
AC_MSG_RESULT(no (suppressed because you are not using GCC))
fi
--- 330,336 ----
AC_DEFINE(HAVE_HPUX_THREAD_SUPPORT)
CONFIG_OBS="${CONFIG_OJS} hpux-thread.o"
CONFIG_SRCS="${CONFIG_SRCS} hpux-thread.c"
! #CONFIG_INITS="${CONFIG_INITS} hpux-thread.c"
else
AC_MSG_RESULT(no (suppressed because you are not using GCC))
fi