GDB (API)
Defines | Functions | Variables
/home/stan/gdb/src/gdb/bfin-tdep.c File Reference
#include "defs.h"
#include "gdb_string.h"
#include "inferior.h"
#include "gdbcore.h"
#include "arch-utils.h"
#include "regcache.h"
#include "frame.h"
#include "frame-unwind.h"
#include "frame-base.h"
#include "trad-frame.h"
#include "dis-asm.h"
#include "gdb_assert.h"
#include "sim-regno.h"
#include "gdb/sim-bfin.h"
#include "dwarf2-frame.h"
#include "symtab.h"
#include "elf-bfd.h"
#include "elf/bfin.h"
#include "osabi.h"
#include "infcall.h"
#include "xml-syscall.h"
#include "bfin-tdep.h"

Go to the source code of this file.

Defines

#define P_LINKAGE   0xE800
#define P_MINUS_SP1   0x0140
#define P_MINUS_SP2   0x05C0
#define P_MINUS_SP3   0x0540
#define P_MINUS_SP4   0x04C0
#define P_SP_PLUS   0x6C06
#define P_P2_LOW   0xE10A
#define P_P2_HIGH   0XE14A
#define P_SP_EQ_SP_PLUS_P2   0X5BB2
#define P_SP_EQ_P2_PLUS_SP   0x5B96
#define P_MINUS_MINUS_SP_EQ_RETS   0x0167
#define P_16_BIT_INSR_MAX   0xBFFF
#define P_32_BIT_INSR_MIN   0xC000
#define P_32_BIT_INSR_MAX   0xE801
#define P_JUMP_PREG_MIN   0x0050
#define P_JUMP_PREG_MAX   0x0057
#define P_JUMP_PC_PLUS_PREG_MIN   0x0080
#define P_JUMP_PC_PLUS_PREG_MAX   0x0087
#define P_JUMP_S_MIN   0x2000
#define P_JUMP_S_MAX   0x2FFF
#define P_JUMP_L_MIN   0xE200
#define P_JUMP_L_MAX   0xE2FF
#define P_IF_CC_JUMP_MIN   0x1800
#define P_IF_CC_JUMP_MAX   0x1BFF
#define P_IF_CC_JUMP_BP_MIN   0x1C00
#define P_IF_CC_JUMP_BP_MAX   0x1FFF
#define P_IF_NOT_CC_JUMP_MIN   0x1000
#define P_IF_NOT_CC_JUMP_MAX   0x13FF
#define P_IF_NOT_CC_JUMP_BP_MIN   0x1400
#define P_IF_NOT_CC_JUMP_BP_MAX   0x17FF
#define P_CALL_PREG_MIN   0x0060
#define P_CALL_PREG_MAX   0x0067
#define P_CALL_PC_PLUS_PREG_MIN   0x0070
#define P_CALL_PC_PLUS_PREG_MAX   0x0077
#define P_CALL_MIN   0xE300
#define P_CALL_MAX   0xE3FF
#define P_RTS   0x0010
#define P_MNOP   0xC803
#define P_EXCPT_MIN   0x00A0
#define P_EXCPT_MAX   0x00AF
#define P_BIT_MULTI_INS_1   0xC000
#define P_BIT_MULTI_INS_2   0x0800
#define UPPER_LIMIT   40
#define ASTAT_CC_POS   5
#define ASTAT_CC   (1 << ASTAT_CC_POS)
#define NUM_BFIN_REGNAMES   ARRAY_SIZE (bfin_register_name_strings)

Functions

enum bfin_abi bfin_abi (struct gdbarch *gdbarch)
void _initialize_bfin_tdep (void)

Variables

initialize_file_ftype _initialize_bfin_tdep

Define Documentation

#define ASTAT_CC   (1 << ASTAT_CC_POS)

Definition at line 127 of file bfin-tdep.c.

#define ASTAT_CC_POS   5

Definition at line 126 of file bfin-tdep.c.

#define NUM_BFIN_REGNAMES   ARRAY_SIZE (bfin_register_name_strings)

Definition at line 143 of file bfin-tdep.c.

#define P_16_BIT_INSR_MAX   0xBFFF

Definition at line 60 of file bfin-tdep.c.

#define P_32_BIT_INSR_MAX   0xE801

Definition at line 64 of file bfin-tdep.c.

#define P_32_BIT_INSR_MIN   0xC000

Definition at line 62 of file bfin-tdep.c.

#define P_BIT_MULTI_INS_1   0xC000

Definition at line 118 of file bfin-tdep.c.

#define P_BIT_MULTI_INS_2   0x0800

Definition at line 120 of file bfin-tdep.c.

#define P_CALL_MAX   0xE3FF

Definition at line 108 of file bfin-tdep.c.

#define P_CALL_MIN   0xE300

Definition at line 106 of file bfin-tdep.c.

#define P_CALL_PC_PLUS_PREG_MAX   0x0077

Definition at line 104 of file bfin-tdep.c.

#define P_CALL_PC_PLUS_PREG_MIN   0x0070

Definition at line 102 of file bfin-tdep.c.

#define P_CALL_PREG_MAX   0x0067

Definition at line 100 of file bfin-tdep.c.

#define P_CALL_PREG_MIN   0x0060

Definition at line 98 of file bfin-tdep.c.

#define P_EXCPT_MAX   0x00AF

Definition at line 116 of file bfin-tdep.c.

#define P_EXCPT_MIN   0x00A0

Definition at line 114 of file bfin-tdep.c.

#define P_IF_CC_JUMP_BP_MAX   0x1FFF

Definition at line 88 of file bfin-tdep.c.

#define P_IF_CC_JUMP_BP_MIN   0x1C00

Definition at line 86 of file bfin-tdep.c.

#define P_IF_CC_JUMP_MAX   0x1BFF

Definition at line 84 of file bfin-tdep.c.

#define P_IF_CC_JUMP_MIN   0x1800

Definition at line 82 of file bfin-tdep.c.

#define P_IF_NOT_CC_JUMP_BP_MAX   0x17FF

Definition at line 96 of file bfin-tdep.c.

#define P_IF_NOT_CC_JUMP_BP_MIN   0x1400

Definition at line 94 of file bfin-tdep.c.

#define P_IF_NOT_CC_JUMP_MAX   0x13FF

Definition at line 92 of file bfin-tdep.c.

#define P_IF_NOT_CC_JUMP_MIN   0x1000

Definition at line 90 of file bfin-tdep.c.

#define P_JUMP_L_MAX   0xE2FF

Definition at line 80 of file bfin-tdep.c.

#define P_JUMP_L_MIN   0xE200

Definition at line 78 of file bfin-tdep.c.

#define P_JUMP_PC_PLUS_PREG_MAX   0x0087

Definition at line 72 of file bfin-tdep.c.

#define P_JUMP_PC_PLUS_PREG_MIN   0x0080

Definition at line 70 of file bfin-tdep.c.

#define P_JUMP_PREG_MAX   0x0057

Definition at line 68 of file bfin-tdep.c.

#define P_JUMP_PREG_MIN   0x0050

Definition at line 66 of file bfin-tdep.c.

#define P_JUMP_S_MAX   0x2FFF

Definition at line 76 of file bfin-tdep.c.

#define P_JUMP_S_MIN   0x2000

Definition at line 74 of file bfin-tdep.c.

#define P_LINKAGE   0xE800

Definition at line 46 of file bfin-tdep.c.

#define P_MINUS_MINUS_SP_EQ_RETS   0x0167

Definition at line 56 of file bfin-tdep.c.

#define P_MINUS_SP1   0x0140

Definition at line 47 of file bfin-tdep.c.

#define P_MINUS_SP2   0x05C0

Definition at line 48 of file bfin-tdep.c.

#define P_MINUS_SP3   0x0540

Definition at line 49 of file bfin-tdep.c.

#define P_MINUS_SP4   0x04C0

Definition at line 50 of file bfin-tdep.c.

#define P_MNOP   0xC803

Definition at line 112 of file bfin-tdep.c.

#define P_P2_HIGH   0XE14A

Definition at line 53 of file bfin-tdep.c.

#define P_P2_LOW   0xE10A

Definition at line 52 of file bfin-tdep.c.

#define P_RTS   0x0010

Definition at line 110 of file bfin-tdep.c.

#define P_SP_EQ_P2_PLUS_SP   0x5B96

Definition at line 55 of file bfin-tdep.c.

#define P_SP_EQ_SP_PLUS_P2   0X5BB2

Definition at line 54 of file bfin-tdep.c.

#define P_SP_PLUS   0x6C06

Definition at line 51 of file bfin-tdep.c.

#define UPPER_LIMIT   40

Definition at line 123 of file bfin-tdep.c.


Function Documentation

void _initialize_bfin_tdep ( void  )

Definition at line 865 of file bfin-tdep.c.

enum bfin_abi bfin_abi ( struct gdbarch *  gdbarch)

Definition at line 782 of file bfin-tdep.c.


Variable Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines