From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24461 invoked by alias); 1 Sep 2010 20:06:41 -0000 Received: (qmail 24444 invoked by uid 22791); 1 Sep 2010 20:06:39 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 01 Sep 2010 20:06:28 +0000 Received: (qmail 20439 invoked from network); 1 Sep 2010 20:06:27 -0000 Received: from unknown (HELO caradoc.them.org) (dan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 1 Sep 2010 20:06:27 -0000 Date: Wed, 01 Sep 2010 20:06:00 -0000 From: Daniel Jacobowitz To: Pedro Alves Cc: Jan Kratochvil , gdb-patches@sourceware.org, Joel Brobecker , Eli Zaretskii , Mark Kettenis Subject: Re: [patch 1/9]#2 Rename `enum target_signal' to target_signal_t Message-ID: <20100901200621.GA11085@caradoc.them.org> Mail-Followup-To: Pedro Alves , Jan Kratochvil , gdb-patches@sourceware.org, Joel Brobecker , Eli Zaretskii , Mark Kettenis References: <201009012007.55983.pedro@codesourcery.com> <20100901191843.GA27558@host1.dyn.jankratochvil.net> <201009012059.36696.pedro@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201009012059.36696.pedro@codesourcery.com> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-09/txt/msg00058.txt.bz2 On Wed, Sep 01, 2010 at 08:59:36PM +0100, Pedro Alves wrote: > But, here's another idea of how to get compiler warnings/errors, > that I think is more transparent to code throughout: > > /* An empty struct. It's the instances we care about. */ > struct gdb_signal_1 > { > }; Please don't do this! It makes things much harder to debug. -- Daniel Jacobowitz CodeSourcery