GDB (API)
Defines | Functions | Variables
/home/stan/gdb/src/gdb/arm-linux-tdep.c File Reference
#include "defs.h"
#include "target.h"
#include "value.h"
#include "gdbtypes.h"
#include "floatformat.h"
#include "gdbcore.h"
#include "frame.h"
#include "regcache.h"
#include "doublest.h"
#include "solib-svr4.h"
#include "osabi.h"
#include "regset.h"
#include "trad-frame.h"
#include "tramp-frame.h"
#include "breakpoint.h"
#include "auxv.h"
#include "xml-syscall.h"
#include "arm-tdep.h"
#include "arm-linux-tdep.h"
#include "linux-tdep.h"
#include "glibc-tdep.h"
#include "arch-utils.h"
#include "inferior.h"
#include "gdbthread.h"
#include "symfile.h"
#include "cli/cli-utils.h"
#include "stap-probe.h"
#include "parser-defs.h"
#include "user-regs.h"
#include <ctype.h>
#include "elf/common.h"
#include "gdb_string.h"

Go to the source code of this file.

Defines

#define ARM_LINUX_JB_ELEMENT_SIZE   INT_REGISTER_SIZE
#define ARM_LINUX_JB_PC_FPA   21
#define ARM_LINUX_JB_PC_EABI   9
#define ARM_LINUX_SIGRETURN_INSTR   0xef900077
#define ARM_LINUX_RT_SIGRETURN_INSTR   0xef9000ad
#define ARM_SET_R7_SIGRETURN   0xe3a07077
#define ARM_SET_R7_RT_SIGRETURN   0xe3a070ad
#define ARM_EABI_SYSCALL   0xef000000
#define ARM_OABI_SYSCALL_RESTART_SYSCALL   0xef900000
#define ARM_LDR_PC_SP_12   0xe49df00c
#define ARM_LDR_PC_SP_4   0xe49df004
#define ARM_SIGCONTEXT_R0   0xc
#define ARM_UCONTEXT_SIGCONTEXT   0x14
#define ARM_OLD_RT_SIGFRAME_SIGINFO   0x8
#define ARM_OLD_RT_SIGFRAME_UCONTEXT   0x88
#define ARM_NEW_RT_SIGFRAME_UCONTEXT   0x80
#define ARM_NEW_SIGFRAME_MAGIC   0x5ac3c35a
#define ARM_LINUX_SIZEOF_GREGSET   (18 * INT_REGISTER_SIZE)
#define typeNone   0x00
#define typeSingle   0x01
#define typeDouble   0x02
#define typeExtended   0x03
#define ARM_LINUX_SIZEOF_VFP   (32 * 8 + 4)

Functions

void arm_linux_supply_gregset (const struct regset *regset, struct regcache *regcache, int regnum, const void *gregs_buf, size_t len)
void arm_linux_collect_gregset (const struct regset *regset, const struct regcache *regcache, int regnum, void *gregs_buf, size_t len)
void supply_nwfpe_register (struct regcache *regcache, int regno, const gdb_byte *regs)
void collect_nwfpe_register (const struct regcache *regcache, int regno, gdb_byte *regs)
void arm_linux_supply_nwfpe (const struct regset *regset, struct regcache *regcache, int regnum, const void *regs_buf, size_t len)
void arm_linux_collect_nwfpe (const struct regset *regset, const struct regcache *regcache, int regnum, void *regs_buf, size_t len)
void _initialize_arm_linux_tdep (void)

Variables

int arm_apcs_32
initialize_file_ftype _initialize_arm_linux_tdep

Define Documentation

#define ARM_EABI_SYSCALL   0xef000000

Definition at line 243 of file arm-linux-tdep.c.

#define ARM_LDR_PC_SP_12   0xe49df00c

Definition at line 248 of file arm-linux-tdep.c.

#define ARM_LDR_PC_SP_4   0xe49df004

Definition at line 249 of file arm-linux-tdep.c.

Definition at line 103 of file arm-linux-tdep.c.

#define ARM_LINUX_JB_PC_EABI   9

Definition at line 105 of file arm-linux-tdep.c.

#define ARM_LINUX_JB_PC_FPA   21

Definition at line 104 of file arm-linux-tdep.c.

#define ARM_LINUX_RT_SIGRETURN_INSTR   0xef9000ad

Definition at line 235 of file arm-linux-tdep.c.

#define ARM_LINUX_SIGRETURN_INSTR   0xef900077

Definition at line 234 of file arm-linux-tdep.c.

Definition at line 467 of file arm-linux-tdep.c.

#define ARM_LINUX_SIZEOF_VFP   (32 * 8 + 4)

Definition at line 650 of file arm-linux-tdep.c.

#define ARM_NEW_RT_SIGFRAME_UCONTEXT   0x80

Definition at line 313 of file arm-linux-tdep.c.

#define ARM_NEW_SIGFRAME_MAGIC   0x5ac3c35a

Definition at line 315 of file arm-linux-tdep.c.

#define ARM_OABI_SYSCALL_RESTART_SYSCALL   0xef900000

Definition at line 247 of file arm-linux-tdep.c.

#define ARM_OLD_RT_SIGFRAME_SIGINFO   0x8

Definition at line 310 of file arm-linux-tdep.c.

#define ARM_OLD_RT_SIGFRAME_UCONTEXT   0x88

Definition at line 311 of file arm-linux-tdep.c.

#define ARM_SET_R7_RT_SIGRETURN   0xe3a070ad

Definition at line 242 of file arm-linux-tdep.c.

#define ARM_SET_R7_SIGRETURN   0xe3a07077

Definition at line 241 of file arm-linux-tdep.c.

#define ARM_SIGCONTEXT_R0   0xc

Definition at line 300 of file arm-linux-tdep.c.

#define ARM_UCONTEXT_SIGCONTEXT   0x14

Definition at line 304 of file arm-linux-tdep.c.

#define typeDouble   0x02

Definition at line 539 of file arm-linux-tdep.c.

#define typeExtended   0x03

Definition at line 540 of file arm-linux-tdep.c.

#define typeNone   0x00

Definition at line 537 of file arm-linux-tdep.c.

#define typeSingle   0x01

Definition at line 538 of file arm-linux-tdep.c.


Function Documentation

void _initialize_arm_linux_tdep ( void  )

Definition at line 1360 of file arm-linux-tdep.c.

void arm_linux_collect_gregset ( const struct regset regset,
const struct regcache *  regcache,
int  regnum,
void *  gregs_buf,
size_t  len 
)

Definition at line 508 of file arm-linux-tdep.c.

void arm_linux_collect_nwfpe ( const struct regset regset,
const struct regcache *  regcache,
int  regnum,
void *  regs_buf,
size_t  len 
)

Definition at line 632 of file arm-linux-tdep.c.

void arm_linux_supply_gregset ( const struct regset regset,
struct regcache *  regcache,
int  regnum,
const void *  gregs_buf,
size_t  len 
)

Definition at line 470 of file arm-linux-tdep.c.

void arm_linux_supply_nwfpe ( const struct regset regset,
struct regcache *  regcache,
int  regnum,
const void *  regs_buf,
size_t  len 
)

Definition at line 615 of file arm-linux-tdep.c.

void collect_nwfpe_register ( const struct regcache *  regcache,
int  regno,
gdb_byte regs 
)

Definition at line 578 of file arm-linux-tdep.c.

void supply_nwfpe_register ( struct regcache *  regcache,
int  regno,
const gdb_byte regs 
)

Definition at line 543 of file arm-linux-tdep.c.


Variable Documentation

Definition at line 279 of file arm-tdep.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines