GDB (xrefs)
Loading...
Searching...
No Matches
Macros | Functions | Variables
tic6x-linux-tdep.c File Reference
#include "defs.h"
#include "solib.h"
#include "osabi.h"
#include "linux-tdep.h"
#include "tic6x-tdep.h"
#include "trad-frame.h"
#include "tramp-frame.h"
#include "elf-bfd.h"
#include "elf/tic6x.h"
#include "gdbarch.h"
#include "solib-dsbt.h"

Go to the source code of this file.

Macros

#define TIC6X_SP_RT_SIGFRAME   8
 
#define TIC6X_SIGINFO_SIZE   128
 
#define TIC6X_STACK_T_SIZE   (3 * 4)
 

Functions

static unsigned int tic6x_register_sigcontext_offset (unsigned int regnum, struct gdbarch *gdbarch)
 
static void tic6x_linux_rt_sigreturn_init (const struct tramp_frame *self, frame_info_ptr this_frame, struct trad_frame_cache *this_cache, CORE_ADDR func)
 
static CORE_ADDR tic6x_linux_syscall_next_pc (frame_info_ptr frame)
 
static void tic6x_uclinux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
 
void _initialize_tic6x_linux_tdep ()
 

Variables

static const gdb_byte tic6x_bkpt_bnop_be [] = { 0x00, 0x00, 0xa1, 0x22 }
 
static const gdb_byte tic6x_bkpt_bnop_le [] = { 0x22, 0xa1, 0x00, 0x00 }
 
static struct tramp_frame tic6x_linux_rt_sigreturn_tramp_frame
 

Macro Definition Documentation

◆ TIC6X_SIGINFO_SIZE

#define TIC6X_SIGINFO_SIZE   128

Definition at line 35 of file tic6x-linux-tdep.c.

Referenced by tic6x_linux_rt_sigreturn_init().

◆ TIC6X_SP_RT_SIGFRAME

#define TIC6X_SP_RT_SIGFRAME   8

Definition at line 33 of file tic6x-linux-tdep.c.

Referenced by tic6x_linux_rt_sigreturn_init().

◆ TIC6X_STACK_T_SIZE

#define TIC6X_STACK_T_SIZE   (3 * 4)

Definition at line 38 of file tic6x-linux-tdep.c.

Referenced by tic6x_linux_rt_sigreturn_init().

Function Documentation

◆ _initialize_tic6x_linux_tdep()

void _initialize_tic6x_linux_tdep ( )

◆ tic6x_linux_rt_sigreturn_init()

static void tic6x_linux_rt_sigreturn_init ( const struct tramp_frame * self,
frame_info_ptr this_frame,
struct trad_frame_cache * this_cache,
CORE_ADDR func )
static

◆ tic6x_linux_syscall_next_pc()

static CORE_ADDR tic6x_linux_syscall_next_pc ( frame_info_ptr frame)
static

◆ tic6x_register_sigcontext_offset()

static unsigned int tic6x_register_sigcontext_offset ( unsigned int regnum,
struct gdbarch * gdbarch )
static

◆ tic6x_uclinux_init_abi()

static void tic6x_uclinux_init_abi ( struct gdbarch_info info,
struct gdbarch * gdbarch )
static

Variable Documentation

◆ tic6x_bkpt_bnop_be

const gdb_byte tic6x_bkpt_bnop_be[] = { 0x00, 0x00, 0xa1, 0x22 }
static

Definition at line 40 of file tic6x-linux-tdep.c.

Referenced by tic6x_uclinux_init_abi().

◆ tic6x_bkpt_bnop_le

const gdb_byte tic6x_bkpt_bnop_le[] = { 0x22, 0xa1, 0x00, 0x00 }
static

Definition at line 41 of file tic6x-linux-tdep.c.

Referenced by tic6x_uclinux_init_abi().

◆ tic6x_linux_rt_sigreturn_tramp_frame

struct tramp_frame tic6x_linux_rt_sigreturn_tramp_frame
static
Initial value:
=
{
4,
{
{0x000045aa, 0x0fffffff},
{0x10000000, ULONGEST_MAX},
},
}
@ SIGTRAMP_FRAME
Definition frame.h:198
static void tic6x_linux_rt_sigreturn_init(const struct tramp_frame *self, frame_info_ptr this_frame, struct trad_frame_cache *this_cache, CORE_ADDR func)
#define TRAMP_SENTINEL_INSN
Definition tramp-frame.h:44

Definition at line 136 of file tic6x-linux-tdep.c.

Referenced by tic6x_uclinux_init_abi().