File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -120,7 +120,6 @@ static uint8_t action_set_register(const void* arg, void* response);
120120static uint8_t action_set_breakpoint (const void * arg , void * response );
121121static uint8_t action_remove_breakpoint (const void * arg , void * response );
122122static uint8_t action_step_instruction (const void * arg , void * response );
123- static uint8_t action_autoboot (const void * arg , void * response );
124123
125124struct action_mem_args_t {
126125 size_t maddr , mlen ;
@@ -854,7 +853,8 @@ void gdbserver_schedule_reset(void)
854853
855854void gdbserver_schedule_autoboot (void )
856855{
857- gdbserver_execute_on_main_thread (action_autoboot , NULL , NULL );
856+ spectranext_autoboot = true;
857+ event_add (tstates + 1 , gdbserver_reset_event );
858858}
859859
860860void gdbserver_refresh_status ()
@@ -1125,17 +1125,6 @@ void gdbserver_on_machine_reset(void)
11251125#endif
11261126}
11271127
1128- static uint8_t action_autoboot (const void * arg , void * response )
1129- {
1130- (void )arg ;
1131- (void )response ;
1132-
1133- spectranext_autoboot = true;
1134- xfs_reset ();
1135- machine_reset (0 );
1136- return 0 ;
1137- }
1138-
11391128static uint8_t action_step_instruction (const void * arg , void * response )
11401129{
11411130 struct action_step_args_t * a = (struct action_step_args_t * )arg ;
You can’t perform that action at this time.
0 commit comments