diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-02-28 08:11:18 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-02-28 08:11:18 +0000 |
commit | 0689e3dd6752f45f493eceb3edf040fbc7849846 (patch) | |
tree | 57c2d288e4ea01551e0ea7806957cd1f5a2165dc /src/helper/command.h | |
parent | b70e262867b724f7d265f0c6b206801a29ba284b (diff) |
- Added TARGET_REQ_DEBUGCHAR target_request debugmsg. This
provides a better impeadance match for debug output char fn's, e.g. eCos.
- Line endings are now added at the caller site of command_print*(). command_print()
still adds a line ending
- echo of commands in scripts are now available via debug_level instead of
forced echo
- Added a USER_SAMELINE() for printing without a lineend.
git-svn-id: svn://svn.berlios.de/openocd/trunk@364 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/helper/command.h')
-rw-r--r-- | src/helper/command.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper/command.h b/src/helper/command.h index de90d4ae..3acb8b18 100644 --- a/src/helper/command.h +++ b/src/helper/command.h @@ -34,7 +34,6 @@ typedef struct command_context_s enum command_mode mode; struct command_s *commands; int current_target; - int echo; int (*output_handler)(struct command_context_s *context, char* line); void *output_handler_priv; } command_context_t; @@ -58,6 +57,7 @@ extern command_context_t* copy_command_context(command_context_t* context); extern command_context_t* command_init(); extern int command_done(command_context_t *context); extern void command_print(command_context_t *context, char *format, ...); +extern void command_print_sameline(command_context_t *context, char *format, ...); extern int command_run_line(command_context_t *context, char *line); extern int command_run_file(command_context_t *context, FILE *file, enum command_mode mode); |