This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Initialization of hpux_threads


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]