Patent ID: 9575827
Date: 2017-02-21
CPC Classifications: G06F

Claim:
1. A non-transitory computer-readable recording medium having stored therein a program for causing a processor to execute a process comprising: detecting writing into a first memory area; saving, in association with each other in a second memory area other than the first memory area, data before the writing which is stored in a data area at a write destination of the detected writing into the first memory area, and context information of the processor at a time of detecting the writing into the first memory area; changing the second memory area when saving the context information; and making an explicit change to a context save area of the first memory area when the context information is not saved according to a context switch, such that the writing into the first memory area is detected and the context information is saved in a context save area of the second memory area, the saving sequentially saves the data before the writing, in association with the changed second memory area, to perform a memory dump, the context information indicates a usage status of the processor, and is saved when the processor is shared by a plurality of processes and a context switch occurs, and the data saved in the second memory area is saved together with corresponding context information, such that the data at a point in time before the processor stops due to an error is consistent with a state of the processor at the same point in time.