diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-02-29 15:32:07 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-02-29 15:32:07 +0000 |
commit | d3f0919233de208f2fa253397eb01c7d1329f1ab (patch) | |
tree | d558c2e92a9b593702297ff381ba14b9188cfa07 | |
parent | d08da2ec045f9da6536f6f7b18fc1f0d53904c40 (diff) | |
download | openocd+libswd-d3f0919233de208f2fa253397eb01c7d1329f1ab.tar.gz openocd+libswd-d3f0919233de208f2fa253397eb01c7d1329f1ab.tar.bz2 openocd+libswd-d3f0919233de208f2fa253397eb01c7d1329f1ab.tar.xz openocd+libswd-d3f0919233de208f2fa253397eb01c7d1329f1ab.zip |
Tweaked logging output.
TODO is retired(hopelessly out of date).
git-svn-id: svn://svn.berlios.de/openocd/trunk@400 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r-- | TODO | 9 | ||||
-rw-r--r-- | src/target/target.c | 13 |
2 files changed, 2 insertions, 20 deletions
@@ -1,7 +1,2 @@ -- Additional cores. ARM9E(J)-S, ARM7TDMI-S, TI925, ... -- Testing. -- Additional jtag interfaces. Currently, only Wiggler style interfaces and - USBJTAG-1 are supported. -- Testing. -- Handle endianess. The configuration variable is there, but that's about it. - Currently, only little-endian targets and little-endian hosts are supported. +This document is not in use. See mailing list. + diff --git a/src/target/target.c b/src/target/target.c index feddc1c0..377bb0dc 100644 --- a/src/target/target.c +++ b/src/target/target.c @@ -1577,24 +1577,11 @@ int handle_halt_command(struct command_context_s *cmd_ctx, char *cmd, char **arg target_t *target = get_current_target(cmd_ctx); DEBUG("-"); - - command_print(cmd_ctx, "requesting target halt..."); if ((retval = target->type->halt(target)) != ERROR_OK) - { - switch (retval) { - case ERROR_TARGET_ALREADY_HALTED: - command_print(cmd_ctx, "target already halted"); - break; - case ERROR_TARGET_TIMEOUT: - command_print(cmd_ctx, "target timed out... shutting down"); - return retval; - default: - command_print(cmd_ctx, "unknown error... shutting down"); return retval; } - } return handle_wait_halt_command(cmd_ctx, cmd, args, argc); } |