void i386_darwin_fetch_gp_registers (struct regcache *regcache,
i386_thread_state_t *sp_regs);
void i386_darwin_store_gp_registers (struct regcache *regcache,
i386_thread_state_t *sp_regs);
void x86_64_darwin_fetch_gp_registers (struct regcache *regcache,
x86_thread_state64_t *sp_regs);
void x86_64_darwin_store_gp_registers (struct regcache *regcache,
x86_thread_state64_t *sp_regs);
void i386_darwin_fetch_fp_registers (struct regcache *regcache,
i386_float_state_t *fp_regs);
int i386_darwin_store_fp_registers (struct regcache *regcache,
i386_float_state_t *fp_regs);
void x86_64_darwin_fetch_fp_registers (struct regcache *regcache,
x86_float_state64_t *fp_regs);
int x86_64_darwin_store_fp_registers (struct regcache *regcache,
x86_float_state64_t *fp_regs);
Can you do a s/x86_64/amd64/ on the function/variable names in your
new code? That's more consistent with other code in GDB.