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 1/9]#2 Rename `enum target_signal' to target_signal_t


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


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