diff options
author | Pedro Alves <palves@redhat.com> | 2016-04-12 16:49:30 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2016-04-12 16:54:25 +0100 |
commit | 6eddd09a12e752c08f55e62fbb30d42058a6b1ea (patch) | |
tree | 01fc030bec230cf6fc3b24af7bdd2d013eb065c7 /gold/expression.cc | |
parent | f0881b37b6734328118a5683e1e18f65a8987c89 (diff) | |
download | gdb-6eddd09a12e752c08f55e62fbb30d42058a6b1ea.zip gdb-6eddd09a12e752c08f55e62fbb30d42058a6b1ea.tar.gz gdb-6eddd09a12e752c08f55e62fbb30d42058a6b1ea.tar.bz2 |
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.
Diffstat (limited to 'gold/expression.cc')
0 files changed, 0 insertions, 0 deletions