This is the mail archive of the gdb-patches@sourceware.org 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]
Other format: [Raw text]

Re: [PATCH 2/2 v3] Demangler crash handler


> Date: Wed, 4 Jun 2014 18:11:16 -0700
> From: Doug Evans <xdje42@gmail.com>
> Cc: Eli Zaretskii <eliz@gnu.org>, "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>, 
> 	Andrew Burgess <aburgess@broadcom.com>, Florian Weimer <fw@deneb.enyo.de>, 
> 	Mark Kettenis <mark.kettenis@xs4all.nl>, Pedro Alves <palves@redhat.com>, 
> 	Tom Tromey <tromey@redhat.com>
> 
> One thing that I think should be considered is that we'll go from the
> simple state of "just ifdef every signal" in places like
> common/signals.c to having some signals you are required to not ifdef
> and some you do, and needing to know which category every signal fits
> in.  I don't have a strong opinion, but I'm ok with the status quo.

The list of ANSI-standard signals is short, and it's easy to check
which signal is or isn't.

Ifdef's are ugly.  Minimizing their use is a Good Thing.


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