Home | History | Annotate | Download | only in POSIX
      1 //===-- RegisterContext_x86.h ---------------------------*- C++ -*-===//
      2 //
      3 //                     The LLVM Compiler Infrastructure
      4 //
      5 // This file is distributed under the University of Illinois Open Source
      6 // License. See LICENSE.TXT for details.
      7 //
      8 //===----------------------------------------------------------------------===//
      9 
     10 #ifndef liblldb_RegisterContext_x86_H_
     11 #define liblldb_RegisterContext_x86_H_
     12 
     13 enum
     14 {
     15     gcc_eax = 0,
     16     gcc_ecx,
     17     gcc_edx,
     18     gcc_ebx,
     19     gcc_ebp,
     20     gcc_esp,
     21     gcc_esi,
     22     gcc_edi,
     23     gcc_eip,
     24     gcc_eflags
     25 };
     26 
     27 enum
     28 {
     29     dwarf_eax = 0,
     30     dwarf_ecx,
     31     dwarf_edx,
     32     dwarf_ebx,
     33     dwarf_esp,
     34     dwarf_ebp,
     35     dwarf_esi,
     36     dwarf_edi,
     37     dwarf_eip,
     38     dwarf_eflags,
     39     dwarf_stmm0 = 11,
     40     dwarf_stmm1,
     41     dwarf_stmm2,
     42     dwarf_stmm3,
     43     dwarf_stmm4,
     44     dwarf_stmm5,
     45     dwarf_stmm6,
     46     dwarf_stmm7,
     47     dwarf_xmm0 = 21,
     48     dwarf_xmm1,
     49     dwarf_xmm2,
     50     dwarf_xmm3,
     51     dwarf_xmm4,
     52     dwarf_xmm5,
     53     dwarf_xmm6,
     54     dwarf_xmm7
     55 };
     56 
     57 enum
     58 {
     59     gdb_eax        =  0,
     60     gdb_ecx        =  1,
     61     gdb_edx        =  2,
     62     gdb_ebx        =  3,
     63     gdb_esp        =  4,
     64     gdb_ebp        =  5,
     65     gdb_esi        =  6,
     66     gdb_edi        =  7,
     67     gdb_eip        =  8,
     68     gdb_eflags     =  9,
     69     gdb_cs         = 10,
     70     gdb_ss         = 11,
     71     gdb_ds         = 12,
     72     gdb_es         = 13,
     73     gdb_fs         = 14,
     74     gdb_gs         = 15,
     75     gdb_stmm0      = 16,
     76     gdb_stmm1      = 17,
     77     gdb_stmm2      = 18,
     78     gdb_stmm3      = 19,
     79     gdb_stmm4      = 20,
     80     gdb_stmm5      = 21,
     81     gdb_stmm6      = 22,
     82     gdb_stmm7      = 23,
     83     gdb_fcw        = 24,
     84     gdb_fsw        = 25,
     85     gdb_ftw        = 26,
     86     gdb_fpu_cs     = 27,
     87     gdb_ip         = 28,
     88     gdb_fpu_ds     = 29,
     89     gdb_dp         = 30,
     90     gdb_fop        = 31,
     91     gdb_xmm0       = 32,
     92     gdb_xmm1       = 33,
     93     gdb_xmm2       = 34,
     94     gdb_xmm3       = 35,
     95     gdb_xmm4       = 36,
     96     gdb_xmm5       = 37,
     97     gdb_xmm6       = 38,
     98     gdb_xmm7       = 39,
     99     gdb_mxcsr      = 40,
    100     gdb_mm0        = 41,
    101     gdb_mm1        = 42,
    102     gdb_mm2        = 43,
    103     gdb_mm3        = 44,
    104     gdb_mm4        = 45,
    105     gdb_mm5        = 46,
    106     gdb_mm6        = 47,
    107     gdb_mm7        = 48
    108 };
    109 
    110 #endif
    111