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] Fix gdb.mi/mi-nsmoribund.exp timeouts (Re: [PATCH] Cleanup num_found usage in gdb_wait_for_event)


On 05/06/2015 06:46 PM, Pedro Alves wrote:

> gdb/ChangeLog:
> 2015-05-06  Pedro Alves  <palves@redhat.com>
> 	    Simon Marchi  <simon.marchi@ericsson.com>
> 
> 	* event-loop.c (gdb_notifier) <next_file_handler,
> 	next_poll_fds_index>: New fields.
> 	(get_next_file_handler_to_handle_and_advance): New function.
> 	(delete_file_handler): If deleting the next file handler to
> 	handle, advance to the next file handler.
> 	(gdb_wait_for_event): Bail early if no event fired.  Poll file
> 	handlers in round-robin fashion.

I pushed this in now.

Thanks,
Pedro Alves


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