fixed do_restore_state()
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4413 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
		
							parent
							
								
									bf6247fb76
								
							
						
					
					
						commit
						a607922c75
					
				@ -54,8 +54,10 @@ void do_restore_state (void *pc_ptr)
 | 
				
			|||||||
    unsigned long pc = (unsigned long) pc_ptr;
 | 
					    unsigned long pc = (unsigned long) pc_ptr;
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    tb = tb_find_pc (pc);
 | 
					    tb = tb_find_pc (pc);
 | 
				
			||||||
 | 
					    if (tb) {
 | 
				
			||||||
        cpu_restore_state (tb, env, pc, NULL);
 | 
					        cpu_restore_state (tb, env, pc, NULL);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void do_raise_exception_direct_err (uint32_t exception, int error_code)
 | 
					void do_raise_exception_direct_err (uint32_t exception, int error_code)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user