GDB (API)
Defines | Functions | Variables
/home/stan/gdb/src/gdb/i386-linux-tdep.c File Reference
#include "defs.h"
#include "gdbcore.h"
#include "frame.h"
#include "value.h"
#include "regcache.h"
#include "regset.h"
#include "inferior.h"
#include "osabi.h"
#include "reggroups.h"
#include "dwarf2-frame.h"
#include "gdb_string.h"
#include "i386-tdep.h"
#include "i386-linux-tdep.h"
#include "linux-tdep.h"
#include "glibc-tdep.h"
#include "solib-svr4.h"
#include "symtab.h"
#include "arch-utils.h"
#include "xml-syscall.h"
#include "i387-tdep.h"
#include "i386-xstate.h"
#include "record-full.h"
#include "linux-record.h"
#include <stdint.h>
#include "features/i386/i386-linux.c"
#include "features/i386/i386-mmx-linux.c"
#include "features/i386/i386-avx-linux.c"

Go to the source code of this file.

Defines

#define XML_SYSCALL_FILENAME_I386   "syscalls/i386-linux.xml"
#define LINUX_SIGTRAMP_INSN0   0x58 /* pop %eax */
#define LINUX_SIGTRAMP_OFFSET0   0
#define LINUX_SIGTRAMP_INSN1   0xb8 /* mov $NNNN, %eax */
#define LINUX_SIGTRAMP_OFFSET1   1
#define LINUX_SIGTRAMP_INSN2   0xcd /* int */
#define LINUX_SIGTRAMP_OFFSET2   6
#define LINUX_SIGTRAMP_LEN   (sizeof linux_sigtramp_code)
#define LINUX_RT_SIGTRAMP_INSN0   0xb8 /* mov $NNNN, %eax */
#define LINUX_RT_SIGTRAMP_OFFSET0   0
#define LINUX_RT_SIGTRAMP_INSN1   0xcd /* int */
#define LINUX_RT_SIGTRAMP_OFFSET1   5
#define LINUX_RT_SIGTRAMP_LEN   (sizeof linux_rt_sigtramp_code)
#define I386_LINUX_UCONTEXT_SIGCONTEXT_OFFSET   20
#define I386_LINUX_xstate   270
#define I386_LINUX_frame_size   732

Functions

uint64_t i386_linux_core_read_xcr0 (bfd *abfd)
void _initialize_i386_linux_tdep (void)

Variables

int i386_linux_gregset_reg_offset []

Define Documentation

#define I386_LINUX_frame_size   732

Definition at line 460 of file i386-linux-tdep.c.

Definition at line 296 of file i386-linux-tdep.c.

#define I386_LINUX_xstate   270

Definition at line 459 of file i386-linux-tdep.c.

#define LINUX_RT_SIGTRAMP_INSN0   0xb8 /* mov $NNNN, %eax */

Definition at line 200 of file i386-linux-tdep.c.

#define LINUX_RT_SIGTRAMP_INSN1   0xcd /* int */

Definition at line 202 of file i386-linux-tdep.c.

#define LINUX_RT_SIGTRAMP_LEN   (sizeof linux_rt_sigtramp_code)

Definition at line 211 of file i386-linux-tdep.c.

#define LINUX_RT_SIGTRAMP_OFFSET0   0

Definition at line 201 of file i386-linux-tdep.c.

#define LINUX_RT_SIGTRAMP_OFFSET1   5

Definition at line 203 of file i386-linux-tdep.c.

#define LINUX_SIGTRAMP_INSN0   0x58 /* pop %eax */

Definition at line 129 of file i386-linux-tdep.c.

#define LINUX_SIGTRAMP_INSN1   0xb8 /* mov $NNNN, %eax */

Definition at line 131 of file i386-linux-tdep.c.

#define LINUX_SIGTRAMP_INSN2   0xcd /* int */

Definition at line 133 of file i386-linux-tdep.c.

#define LINUX_SIGTRAMP_LEN   (sizeof linux_sigtramp_code)

Definition at line 143 of file i386-linux-tdep.c.

#define LINUX_SIGTRAMP_OFFSET0   0

Definition at line 130 of file i386-linux-tdep.c.

#define LINUX_SIGTRAMP_OFFSET1   1

Definition at line 132 of file i386-linux-tdep.c.

#define LINUX_SIGTRAMP_OFFSET2   6

Definition at line 134 of file i386-linux-tdep.c.

#define XML_SYSCALL_FILENAME_I386   "syscalls/i386-linux.xml"

Definition at line 45 of file i386-linux-tdep.c.


Function Documentation

void _initialize_i386_linux_tdep ( void  )
uint64_t i386_linux_core_read_xcr0 ( bfd *  abfd)

Definition at line 602 of file i386-linux-tdep.c.


Variable Documentation

Initial value:
{
  6 * 4,                        
  1 * 4,                        
  2 * 4,                        
  0 * 4,                        
  15 * 4,                       
  5 * 4,                        
  3 * 4,                        
  4 * 4,                        
  12 * 4,                       
  14 * 4,                       
  13 * 4,                       
  16 * 4,                       
  7 * 4,                        
  8 * 4,                        
  9 * 4,                        
  10 * 4,                       
  -1, -1, -1, -1, -1, -1, -1, -1,
  -1, -1, -1, -1, -1, -1, -1, -1,
  -1, -1, -1, -1, -1, -1, -1, -1,
  -1,
  -1, -1, -1, -1, -1, -1, -1, -1,
  11 * 4                        
}

Definition at line 549 of file i386-linux-tdep.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines