GDBserver
Defines | Typedefs | Functions | Variables
/home/stan/gdb/src/gdb/gdbserver/server.h File Reference
#include "config.h"
#include "build-gnulib-gdbserver/config.h"
#include "libiberty.h"
#include "ansidecl.h"
#include "version.h"
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <setjmp.h>
#include "pathmax.h"
#include "ptid.h"
#include "buffer.h"
#include "xml-utils.h"
#include "gdb_locale.h"
#include "regcache.h"
#include "gdb/signals.h"
#include "gdb_signals.h"
#include "target.h"
#include "mem-break.h"
#include "gdbthread.h"
#include "inferiors.h"
#include "event-loop.h"
#include "remote-utils.h"
#include "common-utils.h"
#include "utils.h"
#include "gdb_assert.h"

Go to the source code of this file.

Defines

#define PROG   "gdbserver"
#define MAXBUFBYTES(N)   (((N)-32)/2)
#define PBUFSIZ   16384

Typedefs

typedef unsigned char gdb_byte
typedef long long CORE_ADDR
typedef long long LONGEST
typedef unsigned long long ULONGEST
typedef int gdb_fildes_t

Functions

char * strerror (int)
void perror (const char *)
int vasprintf (char **strp, const char *fmt, va_list ap)
int vsnprintf (char *str, size_t size, const char *format, va_list ap)
void initialize_low ()
int handle_serial_event (int err, gdb_client_data client_data)
int handle_target_event (int err, gdb_client_data client_data)

Variables

ptid_t cont_thread
ptid_t general_thread
int server_waiting
int debug_threads
int debug_hw_points
int pass_signals []
int program_signals []
int program_signals_p
jmp_buf toplevel
int disable_packet_vCont
int disable_packet_Tthread
int disable_packet_qC
int disable_packet_qfThreadInfo
int run_once
int multi_process
int non_stop
int disable_randomization

Define Documentation

#define MAXBUFBYTES (   N)    (((N)-32)/2)

Definition at line 156 of file server.h.

#define PBUFSIZ   16384
#define PROG   "gdbserver"

Definition at line 79 of file server.h.

Referenced by ax_vdebug(), and trace_vdebug().


Typedef Documentation

typedef long long CORE_ADDR

Definition at line 92 of file server.h.

typedef unsigned char gdb_byte

Definition at line 83 of file server.h.

typedef int gdb_fildes_t

Definition at line 138 of file server.h.

typedef long long LONGEST

Definition at line 94 of file server.h.

typedef unsigned long long ULONGEST

Definition at line 95 of file server.h.


Function Documentation

int handle_serial_event ( int  err,
gdb_client_data  client_data 
)
int handle_target_event ( int  err,
gdb_client_data  client_data 
)
void initialize_low ( )
void perror ( const char *  )

Definition at line 25 of file wincecompat.c.

References strwinerror().

Referenced by lynx_fetch_registers(), lynx_store_registers(), putpkt_binary_1(), and readchar().

char* strerror ( int  )
int vasprintf ( char **  strp,
const char *  fmt,
va_list  ap 
)

Referenced by xstrvprintf().

int vsnprintf ( char *  str,
size_t  size,
const char *  format,
va_list  ap 
)

Referenced by xsnprintf().


Variable Documentation

Definition at line 46 of file server.c.

Referenced by linux_request_interrupt(), linux_wait_1(), and set_desired_inferior().

Definition at line 74 of file server.c.

Definition at line 71 of file server.c.

Definition at line 110 of file server.c.

Referenced by handle_query(), and main().

Definition at line 111 of file server.c.

Referenced by handle_query(), and main().

Definition at line 109 of file server.c.

Referenced by main(), and prepare_resume_reply().

Definition at line 108 of file server.c.

Referenced by handle_v_requests(), and main().

Definition at line 65 of file server.c.

Referenced by handle_general_set(), linux_create_inferior(), and main().

Definition at line 49 of file server.c.

Referenced by handle_query(), prepare_resume_reply(), and set_desired_inferior().

int non_stop
int pass_signals[]

Definition at line 76 of file server.c.

Referenced by handle_general_set(), and linux_wait_1().

Definition at line 77 of file server.c.

Referenced by get_detach_signal(), and handle_general_set().

Definition at line 78 of file server.c.

Referenced by get_detach_signal(), and handle_general_set().

int run_once

Definition at line 58 of file server.c.

Referenced by handle_accept_event(), and main().

jmp_buf toplevel

Definition at line 80 of file server.c.

Referenced by error(), and main().

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines