summaryrefslogtreecommitdiff
path: root/src/target
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-03 15:10:16 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-03 15:10:16 +0000
commit1f84e5ac57ac5ecbf95dd78f86b66faac6db6718 (patch)
tree2a2cdbb969133b759d8b24cd09f1720d0bde3fcb /src/target
parentcaf14c53db57b48303a8f5f3f001faaf0e117f9d (diff)
downloadopenocd+libswd-1f84e5ac57ac5ecbf95dd78f86b66faac6db6718.tar.gz
openocd+libswd-1f84e5ac57ac5ecbf95dd78f86b66faac6db6718.tar.bz2
openocd+libswd-1f84e5ac57ac5ecbf95dd78f86b66faac6db6718.tar.xz
openocd+libswd-1f84e5ac57ac5ecbf95dd78f86b66faac6db6718.zip
Piotr Esden-Tempski <piotr@esden.net> Mac OS X compile fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@1594 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target')
-rw-r--r--src/target/avrt.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/target/avrt.c b/src/target/avrt.c
index 95f818eb..2697f511 100644
--- a/src/target/avrt.c
+++ b/src/target/avrt.c
@@ -119,7 +119,7 @@ target_type_t avr_target =
int avr_register_commands(struct command_context_s *cmd_ctx)
{
- LOG_DEBUG(__FUNCTION__);
+ LOG_DEBUG("%s", __FUNCTION__);
return ERROR_OK;
}
@@ -135,19 +135,19 @@ int avr_target_create(struct target_s *target, Jim_Interp *interp)
int avr_init_target(struct command_context_s *cmd_ctx, struct target_s *target)
{
- LOG_DEBUG(__FUNCTION__);
+ LOG_DEBUG("%s", __FUNCTION__);
return ERROR_OK;
}
int avr_quit(void)
{
- LOG_DEBUG(__FUNCTION__);
+ LOG_DEBUG("%s", __FUNCTION__);
return ERROR_OK;
}
int avr_arch_state(struct target_s *target)
{
- LOG_DEBUG(__FUNCTION__);
+ LOG_DEBUG("%s", __FUNCTION__);
return ERROR_OK;
}
@@ -158,25 +158,25 @@ int avr_poll(target_t *target)
target->state = TARGET_HALTED;
}
- LOG_DEBUG(__FUNCTION__);
+ LOG_DEBUG("%s", __FUNCTION__);
return ERROR_OK;
}
int avr_halt(target_t *target)
{
- LOG_DEBUG(__FUNCTION__);
+ LOG_DEBUG("%s", __FUNCTION__);
return ERROR_OK;
}
int avr_resume(struct target_s *target, int current, u32 address, int handle_breakpoints, int debug_execution)
{
- LOG_DEBUG(__FUNCTION__);
+ LOG_DEBUG("%s", __FUNCTION__);
return ERROR_OK;
}
int avr_step(struct target_s *target, int current, u32 address, int handle_breakpoints)
{
- LOG_DEBUG(__FUNCTION__);
+ LOG_DEBUG("%s", __FUNCTION__);
return ERROR_OK;
}
@@ -184,7 +184,7 @@ int avr_assert_reset(target_t *target)
{
target->state = TARGET_RESET;
- LOG_DEBUG(__FUNCTION__);
+ LOG_DEBUG("%s", __FUNCTION__);
return ERROR_OK;
}
@@ -192,13 +192,13 @@ int avr_deassert_reset(target_t *target)
{
target->state = TARGET_RUNNING;
- LOG_DEBUG(__FUNCTION__);
+ LOG_DEBUG("%s", __FUNCTION__);
return ERROR_OK;
}
int avr_soft_reset_halt(struct target_s *target)
{
- LOG_DEBUG(__FUNCTION__);
+ LOG_DEBUG("%s", __FUNCTION__);
return ERROR_OK;
}