diff options
-rw-r--r-- | gdb/gdbserver/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/gdbserver/notif.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 91a3f9b..e416a26 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,8 @@ +2013-07-02 Mircea Gherzan <mircea.gherzan@intel.com> + + * notif.h (notif_event): Add a dummy member to avoid compiler + errors. + 2013-07-01 Pedro Alves <palves@redhat.com> * hostio.c (HOSTIO_PATH_MAX): Define. diff --git a/gdb/gdbserver/notif.h b/gdb/gdbserver/notif.h index 608b763..c714e7b 100644 --- a/gdb/gdbserver/notif.h +++ b/gdb/gdbserver/notif.h @@ -27,6 +27,8 @@ typedef struct notif_event { + /* C requires that a struct or union has at least one member. */ + char dummy; } *notif_event_p; DECLARE_QUEUE_P (notif_event_p); |