This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v2 2/4] gdbserver: avoid empty structs
- From: Pedro Alves <palves at redhat dot com>
- To: Mircea Gherzan <mircea dot gherzan at intel dot com>
- Cc: tromey at redhat dot com, jan dot kratochvil at redhat dot com, gdb-patches at sourceware dot org
- Date: Mon, 01 Jul 2013 18:49:47 +0100
- Subject: Re: [PATCH v2 2/4] gdbserver: avoid empty structs
- References: <1372699497-20043-1-git-send-email-mircea dot gherzan at intel dot com> <1372699497-20043-3-git-send-email-mircea dot gherzan at intel dot com>
On 07/01/2013 06:24 PM, Mircea Gherzan wrote:
> 2013-06-25 Mircea Gherzan <mircea.gherzan@intel.com>
>
> gdbserver/
>
> * notif.h (notif_event): Add a dummy member to avoid compiler
> errors.
I agree with making this unconditional. Empty structs will have
sizeof 1 anyway.
OK.
--
Pedro Alves