In embedded system, Reversible debugging is efficient in solving the error reproducing and bug locating problem when debugging complex program, which becomes a research hotspot. We put forward a reversible debugging method for embedded multicore, while none is widely accepted, on the base of full research. And we implement it on the software platform of C-SKY architecture.Firstly, we analyze a typical embedded debugging system, which mainly includes GDB and QEMU. It’s a comprehensive introduction including frame, princle, etc. In addition, we analyze its feasibility of conducting embedded multicore reversible debugging research.Then, an embedded multicore Record&Replay(RnR) system is presented to solve the non-determinism problem of parallel program, the main issue of multicore reversible debugging. It’s a software-only scheme, meeting the low-cost demand of embedded development. Plus, a low-overhead recording strategy and a high-parallelism replaying strategy are put forward to improve the performance of the RnR.Finally, we implement a full-featured reversible debugging system on embedded multicore by incorporating checkpoint technology into the RnR. Besides, an experiment is designed to evaluate its function and performance. |