GDB (xrefs)
|
#include "serial.h"
Go to the source code of this file.
Functions | |
int | generic_readchar (struct serial *scb, int timeout, int(*do_readchar)(struct serial *scb, int timeout)) |
int | ser_base_flush_output (struct serial *scb) |
int | ser_base_flush_input (struct serial *scb) |
int | ser_base_send_break (struct serial *scb) |
void | ser_base_raw (struct serial *scb) |
serial_ttystate | ser_base_get_tty_state (struct serial *scb) |
serial_ttystate | ser_base_copy_tty_state (struct serial *scb, serial_ttystate ttystate) |
int | ser_base_set_tty_state (struct serial *scb, serial_ttystate ttystate) |
void | ser_base_print_tty_state (struct serial *scb, serial_ttystate ttystate, struct ui_file *stream) |
int | ser_base_setbaudrate (struct serial *scb, int rate) |
int | ser_base_setstopbits (struct serial *scb, int num) |
int | ser_base_setparity (struct serial *scb, int parity) |
int | ser_base_drain_output (struct serial *scb) |
int | ser_base_write (struct serial *scb, const void *buf, size_t count) |
void | ser_base_async (struct serial *scb, int async_p) |
int | ser_base_readchar (struct serial *scb, int timeout) |
int generic_readchar | ( | struct serial * | scb, |
int | timeout, | ||
int(*)(struct serial *scb, int timeout) | do_readchar | ||
) |
void ser_base_async | ( | struct serial * | scb, |
int | async_p | ||
) |
Definition at line 587 of file ser-base.c.
References serial::async_state, serial::error_fd, serial::fd, FD_SCHEDULED, gdb_printf(), gdb_stdlog, handle_error_fd(), NOTHING_SCHEDULED, reschedule(), and serial_debug_p().
serial_ttystate ser_base_copy_tty_state | ( | struct serial * | scb, |
serial_ttystate | ttystate | ||
) |
Definition at line 543 of file ser-base.c.
int ser_base_drain_output | ( | struct serial * | scb | ) |
Definition at line 524 of file ser-base.c.
int ser_base_flush_input | ( | struct serial * | scb | ) |
Definition at line 505 of file ser-base.c.
References serial::buf, serial::bufcnt, serial::bufp, and SERIAL_ERROR.
Referenced by hardwire_flush_input().
int ser_base_flush_output | ( | struct serial * | scb | ) |
Definition at line 499 of file ser-base.c.
serial_ttystate ser_base_get_tty_state | ( | struct serial * | scb | ) |
Definition at line 536 of file ser-base.c.
void ser_base_print_tty_state | ( | struct serial * | scb, |
serial_ttystate | ttystate, | ||
struct ui_file * | stream | ||
) |
Definition at line 556 of file ser-base.c.
void ser_base_raw | ( | struct serial * | scb | ) |
Definition at line 530 of file ser-base.c.
int ser_base_readchar | ( | struct serial * | scb, |
int | timeout | ||
) |
Definition at line 469 of file ser-base.c.
References do_ser_base_readchar(), and generic_readchar().
int ser_base_send_break | ( | struct serial * | scb | ) |
Definition at line 518 of file ser-base.c.
int ser_base_set_tty_state | ( | struct serial * | scb, |
serial_ttystate | ttystate | ||
) |
Definition at line 550 of file ser-base.c.
int ser_base_setbaudrate | ( | struct serial * | scb, |
int | rate | ||
) |
Definition at line 565 of file ser-base.c.
int ser_base_setparity | ( | struct serial * | scb, |
int | parity | ||
) |
Definition at line 579 of file ser-base.c.
int ser_base_setstopbits | ( | struct serial * | scb, |
int | num | ||
) |
Definition at line 571 of file ser-base.c.
int ser_base_write | ( | struct serial * | scb, |
const void * | buf, | ||
size_t | count | ||
) |
Definition at line 475 of file ser-base.c.
References serial::ops, QUIT, and serial_ops::write_prim.