GDB (xrefs)

Public Attributes | List of all members
serial Struct Reference

`#include "serial.h"`

## Public Attributes
int | refcnt
int | fd
int | error_fd
const struct serial_ops * | ops
void * | state
serial_ttystate | ttystate
int | bufcnt
unsigned char * | bufp
unsigned char | buf [BUFSIZ]
struct serial * | next
int | debug_p
int | async_state
void * | async_context
serial_event_ftype * | async_handler

## Detailed Description

Definition at line 224 of file serial.h.

## Member Data Documentation

## ◆ async_context

void* serial::async_context

Definition at line 246 of file serial.h.

Referenced by run_async_handler_and_reschedule(), and serial_async().

## ◆ async_handler

serial_event_ftype* serial::async_handler

Definition at line 247 of file serial.h.

Referenced by do_serial_close(), run_async_handler_and_reschedule(), serial_async(), and serial_is_async_p().

## ◆ async_state

int serial::async_state

Definition at line 245 of file serial.h.

Referenced by push_event(), reschedule(), and ser_base_async().

## ◆ buf

unsigned char serial::buf[BUFSIZ]

Definition at line 242 of file serial.h.

Referenced by do_ser_base_readchar(), fd_event(), net_read_prim(), new_serial(), pipe_windows_read(), ser_base_flush_input(), ser_unix_read_prim(), ser_windows_read_prim(), serial_printf(), and serial_write().

## ◆ bufcnt

int serial::bufcnt

Definition at line 239 of file serial.h.

Referenced by do_ser_base_readchar(), fd_event(), generic_readchar(), reschedule(), and ser_base_flush_input().

## ◆ bufp

unsigned char* serial::bufp

Definition at line 241 of file serial.h.

Referenced by do_ser_base_readchar(), do_serial_close(), fd_event(), generic_readchar(), new_serial(), ser_base_flush_input(), and serial_is_open().

## ◆ debug_p

int serial::debug_p

Definition at line 244 of file serial.h.

Referenced by serial_debug(), and serial_debug_p().

## ◆ error_fd

int serial::error_fd

Definition at line 235 of file serial.h.

Referenced by new_serial(), pipe_close(), pipe_open(), pipe_windows_open(), ser_base_async(), and ser_base_read_error_fd().

## ◆ fd

int serial::fd

Definition at line 230 of file serial.h.

Referenced by console_select_thread(), dos_close(), dos_flush_input(), dos_get_tty_state(), dos_open(), dos_readchar(), dos_sendbreak(), dos_setbaudrate(), dos_setstopbits(), dos_write(), file_select_thread(), gdb_select(), get_tty_state(), hardwire_close(), hardwire_drain_output(), hardwire_flush_input(), hardwire_flush_output(), hardwire_open(), hardwire_send_break(), net_close(), net_open(), net_read_prim(), net_windows_open(), net_windows_select_thread(), net_windows_socket_check_pending(), net_write_prim(), pipe_close(), pipe_open(), pipe_select_thread(), pipe_windows_fdopen(), pipe_windows_open(), pipe_windows_read(), reschedule(), ser_base_async(), ser_base_wait_for(), ser_console_get_tty_state(), ser_console_wait_handle(), ser_unix_read_prim(), ser_unix_write_prim(), ser_windows_close(), ser_windows_drain_output(), ser_windows_flush_input(), ser_windows_flush_output(), ser_windows_open(), ser_windows_raw(), ser_windows_read_prim(), ser_windows_send_break(), ser_windows_setbaudrate(), ser_windows_setparity(), ser_windows_setstopbits(), ser_windows_wait_handle(), ser_windows_write_prim(), serial_event_clear(), serial_event_close(), serial_event_fd(), serial_event_open(), serial_fdopen(), serial_fdopen_ops(), serial_for_fd(), set_tty_state(), and wait_for_connect().

## ◆ next

struct serial* serial::next

Definition at line 243 of file serial.h.

Referenced by gdb.FrameIterator.FrameIterator::__next__(), do_serial_close(), serial_fdopen_ops(), serial_for_fd(), and serial_open_ops_1().

## ◆ ops

const struct serial_ops* serial::ops

Definition at line 236 of file serial.h.

Referenced by do_ser_base_readchar(), do_serial_close(), fd_event(), new_serial(), ser_base_read_error_fd(), ser_base_write(), serial_async(), serial_can_async_p(), serial_copy_tty_state(), serial_drain_output(), serial_fdopen_ops(), serial_flush_input(), serial_flush_output(), serial_get_tty_state(), serial_is_async_p(), serial_open_ops(), serial_open_ops_1(), serial_print_tty_state(), serial_raw(), serial_readchar(), serial_send_break(), serial_set_tty_state(), serial_setbaudrate(), serial_setparity(), serial_setstopbits(), and serial_write().

## ◆ refcnt

int serial::refcnt

Definition at line 228 of file serial.h.

Referenced by new_serial(), serial_ref(), and serial_unref().

## ◆ state

void* serial::state

Definition at line 237 of file serial.h.

Referenced by console_select_thread(), file_select_thread(), net_windows_close(), net_windows_done_wait_handle(), net_windows_open(), net_windows_select_thread(), net_windows_socket_check_pending(), net_windows_wait_handle(), pipe_close(), pipe_done_wait_handle(), pipe_open(), pipe_select_thread(), pipe_wait_handle(), pipe_windows_close(), pipe_windows_fdopen(), pipe_windows_open(), pipe_windows_write(), ser_console_close(), ser_console_done_wait_handle(), ser_console_wait_handle(), ser_windows_close(), ser_windows_open(), ser_windows_read_prim(), ser_windows_wait_handle(), serial_event_clear(), serial_event_close(), serial_event_open(), and serial_event_set().

## ◆ ttystate

serial_ttystate serial::ttystate

Definition at line 238 of file serial.h.

Referenced by serial_copy_tty_state(), serial_print_tty_state(), and serial_set_tty_state().

The documentation for this struct was generated from the following file:

- /tmp/gdb-8.1/gdb/serial.h