rdebug->arch as a ut64 bitmap

This commit is contained in:
Eloi Sanfelix 2011-04-07 23:21:30 +02:00
parent 128f6927a8
commit f0a708e6fd
2 changed files with 14 additions and 12 deletions

View File

@ -9,19 +9,21 @@
#define R_ASM_BUFSIZE 1024
enum {
R_ASM_ARCH_NONE = 0,
R_ASM_ARCH_X86,
R_ASM_ARCH_ARM,
R_ASM_ARCH_PPC,
R_ASM_ARCH_M68K,
R_ASM_ARCH_JAVA,
R_ASM_ARCH_MIPS,
R_ASM_ARCH_SPARC,
R_ASM_ARCH_CSR,
R_ASM_ARCH_MSIL,
R_ASM_ARCH_OBJD,
R_ASM_ARCH_BF
R_ASM_ARCH_X86 = 0x1,
R_ASM_ARCH_ARM = 0x2,
R_ASM_ARCH_PPC = 0x4,
R_ASM_ARCH_M68K = 0x8,
R_ASM_ARCH_JAVA = 0x10,
R_ASM_ARCH_MIPS = 0x20,
R_ASM_ARCH_SPARC = 0x40,
R_ASM_ARCH_CSR = 0x80,
R_ASM_ARCH_MSIL = 0x100,
R_ASM_ARCH_OBJD = 0x200,
R_ASM_ARCH_BF = 0x400,
R_ASM_ARCH_SH = 0x800
};
enum {

View File

@ -142,7 +142,7 @@ typedef struct r_debug_plugin_t {
const char *name;
const char **archs; // MUST BE DEPREACTED!!!!
ut32 bits;
ut32 arch;
ut64 arch;
/* life */
int (*startv)(int argc, char **argv);
int (*attach)(int pid);