- using ERROR_COMMAND_SYNTAX_ERROR to print syntax in a couple of places
- some more flash cleanup of checking halted state - moved output handler into options.c - very slightly tweaked server.c to make it a bit more compatible with eCos - retired arch_state. Not quite sure how I managed to leave that out last time. git-svn-id: svn://svn.berlios.de/openocd/trunk@338 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -121,13 +121,11 @@ int telnet_target_callback_event_handler(struct target_s *target, enum target_ev
|
||||
switch (event)
|
||||
{
|
||||
case TARGET_EVENT_HALTED:
|
||||
command_print(cmd_ctx, "Target %i halted", get_num_by_target(target));
|
||||
target_arch_state(target);
|
||||
if (!t_con->suppress_prompt)
|
||||
telnet_prompt(connection);
|
||||
break;
|
||||
case TARGET_EVENT_RESUMED:
|
||||
command_print(cmd_ctx, "Target %i resumed", get_num_by_target(target));
|
||||
if (!t_con->suppress_prompt)
|
||||
telnet_prompt(connection);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user