Allows config scripts to override handling of 'R'(restart) GDB packet.
git-svn-id: svn://svn.berlios.de/openocd/trunk@852 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -1950,8 +1950,7 @@ int gdb_input_inner(connection_t *connection)
|
||||
break;
|
||||
case 'R':
|
||||
/* handle extended restart packet */
|
||||
/* fix?? make this configurable? */
|
||||
target_process_reset(connection->cmd_ctx, RESET_HALT);
|
||||
command_run_linef(connection->cmd_ctx, "gdb_restart");
|
||||
break;
|
||||
default:
|
||||
/* ignore unkown packets */
|
||||
|
||||
Reference in New Issue
Block a user