A multi-processor (101, 101a, 101b) comprising: a plurality of cores (104, 105, 106, 107) being a first core and at least one remaining core (105, 106, 107); and a debugging control unit configured to control debugging of a program executed in the first core in accordance with instructions from a debugger, wherein each of the plurality of cores (104, 105, 106, 107) includes a register (1041, 1042, 1043) for storing register information, and the register (1041, 1042, 1043) of the first core is connected to the debugging control unit so that the debugging control unit can refer to and update the register information stored in the register (1041, 1042, 1043) of the first core, characterized in that: the register (1041, 1042, 1043) of the at least one remaining core (105, 106, 107) is not connected to the debugging control unit, the debugging control unit is configured, in response to a debugging target change instruction from the debugger for debugging a second program executed in a second core that is one of the at least one remaining core (105, 106, 107), to transfer the register information of the first core to the at least one remaining core (105, 106, 107) for storage in the register (1041, 1042, 1043) of the at least one remaining core (105, 106, 107), and transfer the register information of the second core to the first core for storage in the register (1041, 1042, 1043) of the first core, and after the register information of the second core has been transferred to the register (1041, 1042, 1043) of the first core, the debugging control unit is configured to control debugging of the second program executed in the first core by using the register information stored in the register (1041, 1042, 1043) of the first core, in accordance with instructions from the debugger. a plurality of cores (104, 105, 106, 107) being a first core and at least one remaining core (105, 106, 107); and a debugging control unit configured to control debugging of a program executed in the first core in accordance with instructions from a debugger, wherein each of the plurality of cores (104, 105, 106, 107) includes a register (1041, 1042, 1043) for storing register information, and the register (1041, 1042, 1043) of the first core is connected to the debugging control unit so that the debugging control unit can refer to and update the register information stored in the register (1041, 1042, 1043) of the first core, characterized in that: the register (1041, 1042, 1043) of the at least one remaining core (105, 106, 107) is not connected to the debugging control unit, the debugging control unit is configured, in response to a debugging target change instruction from the debugger for debugging a second program executed in a second core that is one of the at least one remaining core (105, 106, 107), to transfer the register information of the first core to the at least one remaining core (105, 106, 107) for storage in the register (1041, 1042, 1043) of the at least one remaining core (105, 106, 107), and transfer the register information of the second core to the first core for storage in the register (1041, 1042, 1043) of the first core, and after the register information of the second core has been transferred to the register (1041, 1042, 1043) of the first core, the debugging control unit is configured to control debugging of the second program executed in the first core by using the register information stored in the register (1041, 1042, 1043) of the first core, in accordance with instructions from the debugger. the register (1041, 1042, 1043) of the at least one remaining core (105, 106, 107) is not connected to the debugging control unit, the debugging control unit is configured, in response to a debugging target change instruction from the debugger for debugging a second program executed in a second core that is one of the at least one remaining core (105, 106, 107), to transfer the register information of the first core to the at least one remaining core (105, 106, 107) for storage in the register (1041, 1042, 1043) of the at least one remaining core (105, 106, 107), and transfer the register information of the second core to the first core for storage in the register (1041, 1042, 1043) of the first core, and after the register information of the second core has been transferred to the register (1041, 1042, 1043) of the first core, the debugging control unit is configured to control debugging of the second program executed in the first core by using the register information stored in the register (1041, 1042, 1043) of the first core, in accordance with instructions from the debugger.