mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-11-03 23:28:48 +00:00 
			
		
		
		
	GDB Modernization:
- Can be used in either DynCom or Dynarmic mode - Added support for threads - Proper support for FPU registers - Fix for NibbleToHex conversion that used to produce false error codes - Fix for clang-format failing under Windows
This commit is contained in:
		
							parent
							
								
									5c5aad09ce
								
							
						
					
					
						commit
						bd658a8801
					
				
					 9 changed files with 281 additions and 62 deletions
				
			
		| 
						 | 
				
			
			@ -147,6 +147,7 @@ void ARM_DynCom::ExecuteInstructions(u64 num_instructions) {
 | 
			
		|||
    state->NumInstrsToExecute = num_instructions;
 | 
			
		||||
    unsigned ticks_executed = InterpreterMainLoop(state.get());
 | 
			
		||||
    CoreTiming::AddTicks(ticks_executed);
 | 
			
		||||
    state.get()->ServeBreak();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
std::unique_ptr<ARM_Interface::ThreadContext> ARM_DynCom::NewContext() const {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -956,7 +956,7 @@ unsigned InterpreterMainLoop(ARMul_State* cpu) {
 | 
			
		|||
    if (GDBStub::IsServerEnabled()) {                                                              \
 | 
			
		||||
        if (GDBStub::IsMemoryBreak() || (breakpoint_data.type != GDBStub::BreakpointType::None &&  \
 | 
			
		||||
                                         PC == breakpoint_data.address)) {                         \
 | 
			
		||||
            GDBStub::Break();                                                                      \
 | 
			
		||||
            cpu->RecordBreak(breakpoint_data);                                                     \
 | 
			
		||||
            goto END;                                                                              \
 | 
			
		||||
        }                                                                                          \
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue