X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Ftarget%2Ffa526.c;h=7c6cae6f29f8ffa230bead8ecdf1e2780c8f9251;hb=646ce814b4fb678b7d8d341afe0694c266112426;hp=9c22a750b654a248f0242b61f98dfd081ecc33c6;hpb=0181296f61f11e4390e5a381906021db4ddd4bcd;p=openocd diff --git a/src/target/fa526.c b/src/target/fa526.c index 9c22a750..7c6cae6f 100644 --- a/src/target/fa526.c +++ b/src/target/fa526.c @@ -33,6 +33,7 @@ #include "arm920t.h" #include "target_type.h" +#include "arm_opcodes.h" static void fa526_change_to_arm(struct target *target, uint32_t *r0, uint32_t *pc) { @@ -369,7 +370,7 @@ struct target_type fa526_target = .deassert_reset = arm7_9_deassert_reset, .soft_reset_halt = arm920t_soft_reset_halt, - .get_gdb_reg_list = armv4_5_get_gdb_reg_list, + .get_gdb_reg_list = arm_get_gdb_reg_list, .read_memory = arm920t_read_memory, .write_memory = arm920t_write_memory, @@ -385,7 +386,7 @@ struct target_type fa526_target = .add_watchpoint = arm7_9_add_watchpoint, .remove_watchpoint = arm7_9_remove_watchpoint, - .register_commands = arm920t_register_commands, + .commands = arm920t_command_handlers, .target_create = fa526_target_create, .init_target = arm9tdmi_init_target, .examine = arm7_9_examine,