GDB (API)
Defines | Functions | Variables
/home/stan/gdb/src/gdb/monitor.c File Reference
#include "defs.h"
#include "gdbcore.h"
#include "target.h"
#include "exceptions.h"
#include <signal.h>
#include <ctype.h>
#include "gdb_string.h"
#include <sys/types.h>
#include "command.h"
#include "serial.h"
#include "monitor.h"
#include "gdbcmd.h"
#include "inferior.h"
#include "gdb_regex.h"
#include "srec.h"
#include "regcache.h"
#include "gdbthread.h"
#include "readline/readline.h"

Go to the source code of this file.

Defines

#define TARGET_BUF_SIZE   2048

Functions

void monitor_printf_noecho (char *pattern,...)
void monitor_printf (char *pattern,...)
void monitor_write (char *buf, int buflen)
int monitor_readchar (void)
int monitor_expect (char *string, char *buf, int buflen)
int monitor_expect_prompt (char *buf, int buflen)
void monitor_open (char *args, struct monitor_ops *mon_ops, int from_tty)
void monitor_close (void)
char * monitor_supply_register (struct regcache *regcache, int regno, char *valstr)
int monitor_dump_reg_block (struct regcache *regcache, char *block_cmd)
char * monitor_get_dev_name (void)
void init_monitor_ops (struct target_ops *ops)
void _initialize_remote_monitors (void)

Variables

initialize_file_ftype _initialize_remote_monitors

Define Documentation

#define TARGET_BUF_SIZE   2048

Definition at line 117 of file monitor.c.


Function Documentation

void _initialize_remote_monitors ( void  )

Definition at line 2404 of file monitor.c.

void init_monitor_ops ( struct target_ops ops)

Definition at line 2390 of file monitor.c.

void monitor_close ( void  )

Definition at line 856 of file monitor.c.

int monitor_dump_reg_block ( struct regcache *  regcache,
char *  block_cmd 
)

Definition at line 1291 of file monitor.c.

int monitor_expect ( char *  string,
char *  buf,
int  buflen 
)

Definition at line 502 of file monitor.c.

int monitor_expect_prompt ( char *  buf,
int  buflen 
)

Definition at line 653 of file monitor.c.

char* monitor_get_dev_name ( void  )

Definition at line 2319 of file monitor.c.

void monitor_open ( char *  args,
struct monitor_ops mon_ops,
int  from_tty 
)

Definition at line 715 of file monitor.c.

void monitor_printf ( char *  pattern,
  ... 
)

Definition at line 343 of file monitor.c.

void monitor_printf_noecho ( char *  pattern,
  ... 
)

Definition at line 313 of file monitor.c.

int monitor_readchar ( void  )

Definition at line 394 of file monitor.c.

char* monitor_supply_register ( struct regcache *  regcache,
int  regno,
char *  valstr 
)

Definition at line 888 of file monitor.c.

void monitor_write ( char *  buf,
int  buflen 
)

Definition at line 381 of file monitor.c.


Variable Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines