Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Pierre Muller" <pierre.muller@ics-cnrs.unistra.fr>
To: "'Gary Benson'" <gbenson@redhat.com>,
	"'Andreas Schwab'" <schwab@suse.de>
Cc: <gdb-patches@sourceware.org>,
	"'Andrew Burgess'" <aburgess@broadcom.com>,
	       "'Doug Evans'" <xdje42@gmail.com>,
	"'Eli Zaretskii'" <eliz@gnu.org>,
	       "'Florian Weimer'" <fw@deneb.enyo.de>,
	       "'Mark Kettenis'" <mark.kettenis@xs4all.nl>,
	       "'Pedro Alves'" <palves@redhat.com>,
	       "'Tom Tromey'" <tromey@redhat.com>,
	       "'Corinna Vinschen'" <vinschen@redhat.com>
Subject: RE: Cygwin build failure following [PATCH 3/3 v5] Demangler crash handler
Date: Mon, 14 Jul 2014 17:52:00 -0000	[thread overview]
Message-ID: <003201cf9f80$21997890$64cc69b0$@muller@ics-cnrs.unistra.fr> (raw)
In-Reply-To: <20140714114241.GA31867@blade.nx>



> -----Message d'origine-----
> De : gdb-patches-owner@sourceware.org [mailto:gdb-patches-
> owner@sourceware.org] De la part de Gary Benson
> Envoyé : lundi 14 juillet 2014 13:43
> À : Andreas Schwab
> Cc : Pierre Muller; gdb-patches@sourceware.org; 'Andrew Burgess'; 'Doug
> Evans'; 'Eli Zaretskii'; 'Florian Weimer'; 'Mark Kettenis'; 'Pedro
> Alves'; 'Tom Tromey'; 'Corinna Vinschen'
> Objet : Re: Cygwin build failure following [PATCH 3/3 v5] Demangler
> crash handler
> 
> Andreas Schwab wrote:
> > Gary Benson <gbenson@redhat.com> writes:
> > > diff --git a/gdb/cp-support.c b/gdb/cp-support.c
> > > index a8ea6fc..6a09b46 100644
> > > --- a/gdb/cp-support.c
> > > +++ b/gdb/cp-support.c
> > > @@ -1557,7 +1557,9 @@ gdb_demangle (const char *name, int options)
> > >  #if defined (HAVE_SIGACTION) && defined (SA_RESTART)
> > >        sa.sa_handler = gdb_demangle_signal_handler;
> > >        sigemptyset (&sa.sa_mask);
> > > +#ifdef HAVE_SIGALTSTACK
> > >        sa.sa_flags = SA_ONSTACK;
> > > +#endif
> >
> > You probably need to initialize sa.sa_flags in any case.
> 
> Good spot, thanks Andreas.
> 
> Pierre, I've inlined an updated patch below.

  I can confirm that the proposed patch
fixes the Cygwin build failure.

  Thanks, Gary,


Pierre Muller

 


  parent reply	other threads:[~2014-07-14 16:25 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-09 15:22 [PATCH 0/3 " Gary Benson
2014-06-09 15:23 ` [PATCH 1/3 v5] Add new internal problem for demangler warnings Gary Benson
2014-06-09 16:19   ` Eli Zaretskii
2014-06-09 15:24 ` [PATCH 3/3 v5] Demangler crash handler Gary Benson
2014-06-09 16:20   ` Eli Zaretskii
2014-06-09 18:25     ` Gary Benson
2014-07-14  0:31   ` Cygwin build failure following " Pierre Muller
2014-07-14  8:52     ` Corinna Vinschen
2014-07-14 12:10       ` Gary Benson
2014-07-14  8:54     ` Gary Benson
2014-07-14 10:28       ` Andreas Schwab
     [not found]         ` <20140714114241.GA31867@blade.nx>
2014-07-14 16:13           ` Tom Tromey
2014-07-14 17:52           ` Pierre Muller [this message]
2014-06-09 15:24 ` [PATCH 2/3 v5] Refactor and expose core-dumping functionality Gary Benson
2014-06-11 20:41 ` [PATCH 0/3 v5] Demangler crash handler Tom Tromey
2014-06-11 21:03   ` Mark Kettenis
2014-06-19  8:23   ` [COMMITTED PATCH " Gary Benson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='003201cf9f80$21997890$64cc69b0$@muller@ics-cnrs.unistra.fr' \
    --to=pierre.muller@ics-cnrs.unistra.fr \
    --cc=aburgess@broadcom.com \
    --cc=eliz@gnu.org \
    --cc=fw@deneb.enyo.de \
    --cc=gbenson@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=mark.kettenis@xs4all.nl \
    --cc=palves@redhat.com \
    --cc=schwab@suse.de \
    --cc=tromey@redhat.com \
    --cc=vinschen@redhat.com \
    --cc=xdje42@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox