GDB (API)
Defines | Functions | Variables
/home/stan/gdb/src/gdb/i386gnu-nat.c File Reference
#include "defs.h"
#include "inferior.h"
#include "floatformat.h"
#include "regcache.h"
#include "gdb_assert.h"
#include <errno.h>
#include <stdio.h>
#include "gdb_string.h"
#include <mach.h>
#include <mach_error.h>
#include <mach/message.h>
#include <mach/exception.h>
#include "i386-tdep.h"
#include "gnu-nat.h"
#include "i387-tdep.h"

Go to the source code of this file.

Defines

#define REG_OFFSET(reg)   offsetof (struct i386_thread_state, reg)
#define CREG_OFFSET(reg)   (REG_##reg * 4)
#define REG_ADDR(state, regnum)   ((char *)(state) + reg_offset[regnum])
#define CREG_ADDR(state, regnum)   ((const char *)(state) + creg_offset[regnum])

Functions

void _initialize_i386gnu_nat (void)

Variables

initialize_file_ftype _initialize_i386gnu_nat

Define Documentation

#define CREG_ADDR (   state,
  regnum 
)    ((const char *)(state) + creg_offset[regnum])

Definition at line 72 of file i386gnu-nat.c.

#define CREG_OFFSET (   reg)    (REG_##reg * 4)

Definition at line 59 of file i386gnu-nat.c.

#define REG_ADDR (   state,
  regnum 
)    ((char *)(state) + reg_offset[regnum])

Definition at line 71 of file i386gnu-nat.c.

#define REG_OFFSET (   reg)    offsetof (struct i386_thread_state, reg)

Definition at line 46 of file i386gnu-nat.c.


Function Documentation

void _initialize_i386gnu_nat ( void  )

Definition at line 316 of file i386gnu-nat.c.


Variable Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines