This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Make Python use a struct serial event
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Tue, 12 Apr 2016 16:54:41 -0400
- Subject: [binutils-gdb] Make Python use a struct serial event
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 6eddd09a12e752c08f55e62fbb30d42058a6b1ea ***
Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 6eddd09a12e752c08f55e62fbb30d42058a6b1ea
Make Python use a struct serial event
Now that we have an abstract for wakeable events, use it instead of a
(heavier) serial pipe.
gdb/ChangeLog:
2016-04-12 Pedro Alves <palves@redhat.com>
* python/python.c: Include "ser-event.h".
(gdbpy_event_fds): Delete.
(gdbpy_serial_event): New.
(gdbpy_run_events): Change prototype. Use serial_event_clear
instead of serial_readchar.
(gdbpy_post_event): Use serial_event_set instead of serial_write.
(gdbpy_initialize_events): Use make_serial_event instead of
serial_pipe.