Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
dwarf-regs.c File Reference
#include <libio.h>
#include <dwarf-regs.h>

Go to the source code of this file.

Macros

#define X86_32_MAX_REGS   8
 
#define X86_64_MAX_REGS   16
 
#define ARCH_MAX_REGS   X86_32_MAX_REGS
 
#define arch_regs_table   x86_32_regs_table
 

Functions

const charget_arch_regstr (unsigned int n)
 

Variables

const charx86_32_regs_table [X86_32_MAX_REGS]
 
const charx86_64_regs_table [X86_64_MAX_REGS]
 

Macro Definition Documentation

#define ARCH_MAX_REGS   X86_32_MAX_REGS

Definition at line 67 of file dwarf-regs.c.

#define arch_regs_table   x86_32_regs_table

Definition at line 68 of file dwarf-regs.c.

#define X86_32_MAX_REGS   8

Definition at line 30 of file dwarf-regs.c.

#define X86_64_MAX_REGS   16

Definition at line 42 of file dwarf-regs.c.

Function Documentation

const char* get_arch_regstr ( unsigned int  n)

Definition at line 72 of file dwarf-regs.c.

Variable Documentation

const char* x86_32_regs_table[X86_32_MAX_REGS]
Initial value:
= {
"%ax",
"%cx",
"%dx",
"%bx",
"$stack",
"%bp",
"%si",
"%di",
}

Definition at line 31 of file dwarf-regs.c.

const char* x86_64_regs_table[X86_64_MAX_REGS]
Initial value:
= {
"%ax",
"%dx",
"%cx",
"%bx",
"%si",
"%di",
"%bp",
"%sp",
"%r8",
"%r9",
"%r10",
"%r11",
"%r12",
"%r13",
"%r14",
"%r15",
}

Definition at line 43 of file dwarf-regs.c.