diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-02-25 06:44:46 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-02-25 06:44:46 +0000 |
commit | d8456e48260519a7e1d5d4b4efee51f985e981c6 (patch) | |
tree | 8517c881fa3881e54cd3824b5fc62590f3ef5a97 /src/target/armv7m.c | |
parent | 8529e7c21e9976425a335693b19494783e1945e0 (diff) |
Michael Bruck spotted an omission in svn 322
git-svn-id: svn://svn.berlios.de/openocd/trunk@336 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/armv7m.c')
-rw-r--r-- | src/target/armv7m.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/target/armv7m.c b/src/target/armv7m.c index 8b4fd44b..bed39485 100644 --- a/src/target/armv7m.c +++ b/src/target/armv7m.c @@ -471,13 +471,12 @@ int armv7m_run_algorithm(struct target_s *target, int num_mem_params, mem_param_ return retval; } -int armv7m_arch_state(struct target_s *target, char *buf, int buf_size) +int armv7m_arch_state(struct target_s *target) { /* get pointers to arch-specific information */ armv7m_common_t *armv7m = target->arch_info; - snprintf(buf, buf_size, - "target halted in %s state due to %s, current mode: %s %s\nxPSR: 0x%8.8x pc: 0x%8.8x", + USER("target halted in %s state due to %s, current mode: %s %s\nxPSR: 0x%8.8x pc: 0x%8.8x", armv7m_state_strings[armv7m->core_state], target_debug_reason_strings[target->debug_reason], armv7m_mode_strings[armv7m->core_mode], |