GDB (API)
Defines | Typedefs | Functions
/home/stan/gdb/src/gdb/ser-tcp.c File Reference
#include "defs.h"
#include "serial.h"
#include "ser-base.h"
#include "ser-tcp.h"
#include "gdbcmd.h"
#include "cli/cli-decode.h"
#include "cli/cli-setshow.h"
#include "filestuff.h"
#include <sys/types.h>
#include <sys/time.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <sys/socket.h>
#include <netinet/tcp.h>
#include <signal.h>
#include "gdb_string.h"
#include "gdb_select.h"

Go to the source code of this file.

Defines

#define POLL_INTERVAL   5

Typedefs

typedef int socklen_t

Functions

void _initialize_ser_tcp (void)
int net_open (struct serial *scb, const char *name)
void net_close (struct serial *scb)
int net_read_prim (struct serial *scb, size_t count)
int net_write_prim (struct serial *scb, const void *buf, size_t count)
int ser_tcp_send_break (struct serial *scb)

Define Documentation

#define POLL_INTERVAL   5

Definition at line 80 of file ser-tcp.c.


Typedef Documentation

typedef int socklen_t

Definition at line 60 of file ser-tcp.c.


Function Documentation

void _initialize_ser_tcp ( void  )
void net_close ( struct serial scb)

Definition at line 330 of file ser-tcp.c.

int net_open ( struct serial scb,
const char *  name 
)

Definition at line 157 of file ser-tcp.c.

int net_read_prim ( struct serial scb,
size_t  count 
)

Definition at line 340 of file ser-tcp.c.

int net_write_prim ( struct serial scb,
const void *  buf,
size_t  count 
)

Definition at line 349 of file ser-tcp.c.

int ser_tcp_send_break ( struct serial scb)

Definition at line 355 of file ser-tcp.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines