This is the mail archive of the
insight@sourceware.cygnus.com
mailing list for the Insight project.
Re: Patch for tcl to build on GNU/Linux/sparc (RedHat Linux 6.[12])
- To: Syd Polk <spolk at cygnus dot com>
- Subject: Re: Patch for tcl to build on GNU/Linux/sparc (RedHat Linux 6.[12])
- From: James Ingham <jingham at cygnus dot com>
- Date: Wed, 19 Apr 2000 17:08:21 -0700 (PDT)
- Cc: Andrew Cagney <ac131313 at cygnus dot com>, Alexandre Oliva <aoliva at cygnus dot com>, "Insight (GDB GUI)" <insight at sourceware dot cygnus dot com>
- References: <orvh1erwsi.fsf@zecarneiro.lsd.ic.unicamp.br><4.2.0.58.20000419170203.00c0d2f0@pop.cygnus.com>
Syd,
I was just composing a post to the same effect when I saw yours. We
HAVE to get gdbtk to where it can run on a straight Tcl from
Scriptics, and any steps away from this goal are a bad idea.
Jim
> At 09:39 AM 4/20/00 +1000, Andrew Cagney wrote:
> >Ok? (the original was sent to gdb-patches)
>
> Hmm. This is also the code that is in the Tcl generic distribution. I would
> love to see this submitted as a patch to Scriptics and see what they say
> first. I hate CYGNUS LOCAL changes, and this is definitely one.
>
> So go ahead and accept it on the condition that it is also submitted to
> Scriptics.
>
> >Alexandre Oliva wrote:
> > > I had to install this patch in order to get the GDB tree to build on
> > > GNU/Linux/sparc. Ok to install? Release branch?
> > >
> > > ------------------------------------------------------------------------
> > > Index: tcl/ChangeLog
> > > from Alexandre Oliva <aoliva@cygnus.com>
> > >
> > > * generic/tclPosixStr.c (Tcl_SignalId, Tcl_SignalMsg): Do not
> > > issue SIGPWR case if it's the same as SIGLOST.
> > >
> > > Index: tcl/generic/tclPosixStr.c
> > > ===================================================================
> > > RCS file: /cvs/cvsfiles/devo/tcl/generic/tclPosixStr.c,v
> > > retrieving revision 1.10
> > > diff -u -r1.10 tclPosixStr.c
> > > --- tcl/generic/tclPosixStr.c 1999/05/18 23:10:04 1.10
> > > +++ tcl/generic/tclPosixStr.c 2000/04/12 19:50:05
> > > @@ -986,7 +986,7 @@
> > > #ifdef SIGPROF
> > > case SIGPROF: return "SIGPROF";
> > > #endif
> > > -#if defined(SIGPWR) && (!defined(SIGXFSZ) || (SIGPWR != SIGXFSZ))
> > > +#if defined(SIGPWR) && (!defined(SIGXFSZ) || (SIGPWR != SIGXFSZ)) &&
> > (!defined(SIGLOST) || (SIGPWR != SIGLOST))
> > > case SIGPWR: return "SIGPWR";
> > > #endif
> > > #ifdef SIGQUIT
> > > @@ -1118,7 +1118,7 @@
> > > #ifdef SIGPROF
> > > case SIGPROF: return "profiling alarm";
> > > #endif
> > > -#if defined(SIGPWR) && (!defined(SIGXFSZ) || (SIGPWR != SIGXFSZ))
> > > +#if defined(SIGPWR) && (!defined(SIGXFSZ) || (SIGPWR != SIGXFSZ)) &&
> > (!defined(SIGLOST) || (SIGPWR != SIGLOST))
> > > case SIGPWR: return "power-fail restart";
> > > #endif
> > > #ifdef SIGQUIT
> > >
> > > ------------------------------------------------------------------------
> > >
> > > --
> > > Alexandre Oliva Enjoy Guaranį, see http://www.ic.unicamp.br/~oliva/
> > > Cygnus Solutions, a Red Hat company aoliva@{redhat, cygnus}.com
> > > Free Software Developer and Evangelist CS PhD student at IC-Unicamp
> > > oliva@{lsd.ic.unicamp.br, gnu.org} Write to mailing lists, not to me
>
> Syd Polk
> Engineering Manager
> Cygnus Solutions,a Red Hat company
>
>
>