diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 8ec0d8ea98c..e87d7b9f95e 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,9 @@ +2015-07-10 Pedro Alves + + * event-loop.c (struct callback_event) : Change type to + gdb_client_data instance instead of gdb_client_data pointer. + (append_callback_event): Adjust. + 2015-07-10 Pierre Langlois * linux-aarch64-low.c: Add comments for each linux_target_ops diff --git a/gdb/gdbserver/event-loop.c b/gdb/gdbserver/event-loop.c index 08a503f49e7..d1825aeb022 100644 --- a/gdb/gdbserver/event-loop.c +++ b/gdb/gdbserver/event-loop.c @@ -130,7 +130,7 @@ struct callback_event { int id; callback_handler_func *proc; - gdb_client_data *data; + gdb_client_data data; struct callback_event *next; }; @@ -249,7 +249,7 @@ process_callback (void) if (event_ptr != NULL) { callback_handler_func *proc = event_ptr->proc; - gdb_client_data *data = event_ptr->data; + gdb_client_data data = event_ptr->data; /* Remove the event before calling PROC, more events may get added by PROC. */