GDB (API)
Defines | Functions | Variables
/home/stan/gdb/src/gdb/remote-m32r-sdi.c File Reference
#include "defs.h"
#include "gdbcmd.h"
#include "gdbcore.h"
#include "inferior.h"
#include "target.h"
#include "regcache.h"
#include "gdb_string.h"
#include "gdbthread.h"
#include <ctype.h>
#include <signal.h>
#include <netinet/in.h>
#include <sys/types.h>
#include <sys/time.h>
#include <time.h>
#include "gdb_bfd.h"
#include "cli/cli-utils.h"
#include "serial.h"

Go to the source code of this file.

Defines

#define SDI_TIMEOUT   30
#define SDIPORT   3232
#define MAX_BREAKPOINTS   1024
#define MAX_ACCESS_BREAKS   4
#define SDI_OPEN   1
#define SDI_CLOSE   2
#define SDI_RELEASE   3
#define SDI_READ_CPU_REG   4
#define SDI_WRITE_CPU_REG   5
#define SDI_READ_MEMORY   6
#define SDI_WRITE_MEMORY   7
#define SDI_EXEC_CPU   8
#define SDI_STOP_CPU   9
#define SDI_WAIT_FOR_READY   10
#define SDI_GET_ATTR   11
#define SDI_SET_ATTR   12
#define SDI_STATUS   13
#define SDI_ATTR_NAME   1
#define SDI_ATTR_BRK   2
#define SDI_ATTR_ABRK   3
#define SDI_ATTR_CACHE   4
#define SDI_CACHE_TYPE_M32102   0
#define SDI_CACHE_TYPE_CHAOS   1
#define SDI_ATTR_MEM_ACCESS   5
#define SDI_MEM_ACCESS_DEBUG_DMA   0
#define SDI_MEM_ACCESS_MON_CODE   1
#define SDI_REG_R0   0
#define SDI_REG_R1   1
#define SDI_REG_R2   2
#define SDI_REG_R3   3
#define SDI_REG_R4   4
#define SDI_REG_R5   5
#define SDI_REG_R6   6
#define SDI_REG_R7   7
#define SDI_REG_R8   8
#define SDI_REG_R9   9
#define SDI_REG_R10   10
#define SDI_REG_R11   11
#define SDI_REG_R12   12
#define SDI_REG_FP   13
#define SDI_REG_LR   14
#define SDI_REG_SP   15
#define SDI_REG_PSW   16
#define SDI_REG_CBR   17
#define SDI_REG_SPI   18
#define SDI_REG_SPU   19
#define SDI_REG_CR4   20
#define SDI_REG_EVB   21
#define SDI_REG_BPC   22
#define SDI_REG_CR7   23
#define SDI_REG_BBPSW   24
#define SDI_REG_CR9   25
#define SDI_REG_CR10   26
#define SDI_REG_CR11   27
#define SDI_REG_CR12   28
#define SDI_REG_WR   29
#define SDI_REG_BBPC   30
#define SDI_REG_PBP   31
#define SDI_REG_ACCH   32
#define SDI_REG_ACCL   33
#define SDI_REG_ACC1H   34
#define SDI_REG_ACC1L   35

Functions

void _initialize_remote_m32r (void)

Variables

struct target_ops m32r_ops
initialize_file_ftype _initialize_remote_m32r

Define Documentation

#define MAX_ACCESS_BREAKS   4

Definition at line 76 of file remote-m32r-sdi.c.

#define MAX_BREAKPOINTS   1024

Definition at line 66 of file remote-m32r-sdi.c.

#define SDI_ATTR_ABRK   3

Definition at line 112 of file remote-m32r-sdi.c.

#define SDI_ATTR_BRK   2

Definition at line 111 of file remote-m32r-sdi.c.

#define SDI_ATTR_CACHE   4

Definition at line 113 of file remote-m32r-sdi.c.

#define SDI_ATTR_MEM_ACCESS   5

Definition at line 116 of file remote-m32r-sdi.c.

#define SDI_ATTR_NAME   1

Definition at line 110 of file remote-m32r-sdi.c.

#define SDI_CACHE_TYPE_CHAOS   1

Definition at line 115 of file remote-m32r-sdi.c.

#define SDI_CACHE_TYPE_M32102   0

Definition at line 114 of file remote-m32r-sdi.c.

#define SDI_CLOSE   2

Definition at line 96 of file remote-m32r-sdi.c.

#define SDI_EXEC_CPU   8

Definition at line 102 of file remote-m32r-sdi.c.

#define SDI_GET_ATTR   11

Definition at line 105 of file remote-m32r-sdi.c.

#define SDI_MEM_ACCESS_DEBUG_DMA   0

Definition at line 117 of file remote-m32r-sdi.c.

#define SDI_MEM_ACCESS_MON_CODE   1

Definition at line 118 of file remote-m32r-sdi.c.

#define SDI_OPEN   1

Definition at line 95 of file remote-m32r-sdi.c.

#define SDI_READ_CPU_REG   4

Definition at line 98 of file remote-m32r-sdi.c.

#define SDI_READ_MEMORY   6

Definition at line 100 of file remote-m32r-sdi.c.

#define SDI_REG_ACC1H   34

Definition at line 155 of file remote-m32r-sdi.c.

#define SDI_REG_ACC1L   35

Definition at line 156 of file remote-m32r-sdi.c.

#define SDI_REG_ACCH   32

Definition at line 153 of file remote-m32r-sdi.c.

#define SDI_REG_ACCL   33

Definition at line 154 of file remote-m32r-sdi.c.

#define SDI_REG_BBPC   30

Definition at line 151 of file remote-m32r-sdi.c.

#define SDI_REG_BBPSW   24

Definition at line 145 of file remote-m32r-sdi.c.

#define SDI_REG_BPC   22

Definition at line 143 of file remote-m32r-sdi.c.

#define SDI_REG_CBR   17

Definition at line 138 of file remote-m32r-sdi.c.

#define SDI_REG_CR10   26

Definition at line 147 of file remote-m32r-sdi.c.

#define SDI_REG_CR11   27

Definition at line 148 of file remote-m32r-sdi.c.

#define SDI_REG_CR12   28

Definition at line 149 of file remote-m32r-sdi.c.

#define SDI_REG_CR4   20

Definition at line 141 of file remote-m32r-sdi.c.

#define SDI_REG_CR7   23

Definition at line 144 of file remote-m32r-sdi.c.

#define SDI_REG_CR9   25

Definition at line 146 of file remote-m32r-sdi.c.

#define SDI_REG_EVB   21

Definition at line 142 of file remote-m32r-sdi.c.

#define SDI_REG_FP   13

Definition at line 134 of file remote-m32r-sdi.c.

#define SDI_REG_LR   14

Definition at line 135 of file remote-m32r-sdi.c.

#define SDI_REG_PBP   31

Definition at line 152 of file remote-m32r-sdi.c.

#define SDI_REG_PSW   16

Definition at line 137 of file remote-m32r-sdi.c.

#define SDI_REG_R0   0

Definition at line 121 of file remote-m32r-sdi.c.

#define SDI_REG_R1   1

Definition at line 122 of file remote-m32r-sdi.c.

#define SDI_REG_R10   10

Definition at line 131 of file remote-m32r-sdi.c.

#define SDI_REG_R11   11

Definition at line 132 of file remote-m32r-sdi.c.

#define SDI_REG_R12   12

Definition at line 133 of file remote-m32r-sdi.c.

#define SDI_REG_R2   2

Definition at line 123 of file remote-m32r-sdi.c.

#define SDI_REG_R3   3

Definition at line 124 of file remote-m32r-sdi.c.

#define SDI_REG_R4   4

Definition at line 125 of file remote-m32r-sdi.c.

#define SDI_REG_R5   5

Definition at line 126 of file remote-m32r-sdi.c.

#define SDI_REG_R6   6

Definition at line 127 of file remote-m32r-sdi.c.

#define SDI_REG_R7   7

Definition at line 128 of file remote-m32r-sdi.c.

#define SDI_REG_R8   8

Definition at line 129 of file remote-m32r-sdi.c.

#define SDI_REG_R9   9

Definition at line 130 of file remote-m32r-sdi.c.

#define SDI_REG_SP   15

Definition at line 136 of file remote-m32r-sdi.c.

#define SDI_REG_SPI   18

Definition at line 139 of file remote-m32r-sdi.c.

#define SDI_REG_SPU   19

Definition at line 140 of file remote-m32r-sdi.c.

#define SDI_REG_WR   29

Definition at line 150 of file remote-m32r-sdi.c.

#define SDI_RELEASE   3

Definition at line 97 of file remote-m32r-sdi.c.

#define SDI_SET_ATTR   12

Definition at line 106 of file remote-m32r-sdi.c.

#define SDI_STATUS   13

Definition at line 107 of file remote-m32r-sdi.c.

#define SDI_STOP_CPU   9

Definition at line 103 of file remote-m32r-sdi.c.

#define SDI_TIMEOUT   30

Definition at line 51 of file remote-m32r-sdi.c.

#define SDI_WAIT_FOR_READY   10

Definition at line 104 of file remote-m32r-sdi.c.

#define SDI_WRITE_CPU_REG   5

Definition at line 99 of file remote-m32r-sdi.c.

#define SDI_WRITE_MEMORY   7

Definition at line 101 of file remote-m32r-sdi.c.

#define SDIPORT   3232

Definition at line 54 of file remote-m32r-sdi.c.


Function Documentation

void _initialize_remote_m32r ( void  )

Definition at line 1664 of file remote-m32r-sdi.c.


Variable Documentation

Definition at line 1618 of file remote-m32r-sdi.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines