From 1aa854684de1827edd3b605fc64a78a498f2358a Mon Sep 17 00:00:00 2001 From: oharboe Date: Sun, 24 Feb 2008 18:52:45 +0000 Subject: - fixed target->type->poll() return value - added arch_state to show status of currently selected target - simplified target->type->arch_state() api. - clean up telnet output a bit - fixed GDB output for arch_state - removed a couple of unecessary exit()'s - cleaned up error propagation a bit in a few places git-svn-id: svn://svn.berlios.de/openocd/trunk@332 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/target/arm7_9_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/target/arm7_9_common.h') diff --git a/src/target/arm7_9_common.h b/src/target/arm7_9_common.h index 01b9242a..b95516e6 100644 --- a/src/target/arm7_9_common.h +++ b/src/target/arm7_9_common.h @@ -101,7 +101,7 @@ typedef struct arm7_9_common_s int arm7_9_register_commands(struct command_context_s *cmd_ctx); -enum target_state arm7_9_poll(target_t *target); +int arm7_9_poll(target_t *target); int arm7_9_target_request_data(target_t *target, u32 size, u8 *buffer); -- cgit v1.2.3