DBG: resolved issue #463 (bugs in the database reset most software breakpoints on restart).
This commit is contained in:
		
							parent
							
								
									8e7690d00a
								
							
						
					
					
						commit
						a004fdd19d
					
				|  | @ -357,7 +357,7 @@ void BpCacheLoad(JSON Root) | |||
|         memset(&breakpoint, 0, sizeof(BREAKPOINT)); | ||||
| 
 | ||||
|         if(breakpoint.type == BPNORMAL) | ||||
|             breakpoint.oldbytes = (short)json_hex_value(json_object_get(value, "oldbytes")); | ||||
|             breakpoint.oldbytes = (unsigned short)(json_hex_value(json_object_get(value, "oldbytes")) & 0xFFFF); | ||||
|         breakpoint.type = (BP_TYPE)json_integer_value(json_object_get(value, "type")); | ||||
|         breakpoint.addr = (duint)json_hex_value(json_object_get(value, "address")); | ||||
|         breakpoint.enabled = json_boolean_value(json_object_get(value, "enabled")); | ||||
|  |  | |||
|  | @ -22,7 +22,7 @@ struct BREAKPOINT | |||
|     bool enabled; | ||||
|     bool singleshoot; | ||||
|     bool active; | ||||
|     short oldbytes; | ||||
|     unsigned short oldbytes; | ||||
|     BP_TYPE type; | ||||
|     DWORD titantype; | ||||
|     char name[MAX_BREAKPOINT_SIZE]; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue