Debugging method, multi-core processor and debugging device
Abstract
Embodiments of the present invention relate to the field of computer technologies. The embodiments of the present invention provide a debugging method, including: starting, by a core A of a multi-core processor after completing execution of a preset event processing routine, to stop running, and sending a running stop signal to other cores in a process of stopping running; after receiving a first stop termination instruction and resuming running, executing a debugging information collection function to collect debugging information of the preset event, and stopping running after completing the execution of the debugging information collection function; and after receiving a second stop termination instruction and resuming running, sending a running resumption instruction to the other cores. By means of the technical solutions provided in the embodiments of the present invention, kernel mode code and user mode code can be masked on a same debugging platform.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 44 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of debugging, applied to a target machine in a remote debugging system, wherein the target machine comprises a multi-core processor, and the method comprises: executing, by a core A of the multi-core processor after completing execution of a preset event processing routine, a first debugging exception instruction located in a header of a debugging interface function, wherein the first debugging exception instruction is used to instruct the core A to stop running, and sending a running stop signal to other cores in a process of stopping running, wherein the running stop signal is used
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 2020065206 A1 | Distributed hardware tracing | — | 2 |
| US 2021248052 A1 | Distributed hardware tracing | — | 0 |
References Cited — Backward Prior Art (44)
Non-Patent Literature (5)
- Backasch, R., et al., Runtime Verification for Multicore SoC with High-Quality Trace Data, ACM Transactions on Design Automation of Electronic Systems (TODAES), vol. 18 Issue 2, Mar. 2013, 26 pages, [retrieved on Jun. 12, 2019], Retrieved from the Internet.
- Extended European Search Report dated Aug. 9, 2018 in corresponding European Patent Application No. 16848167.9.
- GDB: The GNU Project Debugger, Retrieved from internet on Apr. 26, 2018, http://www.gnu.org/software/gbd/ (4 pp.).
- International Search Report dated Mar. 30, 2017 in corresponding International Patent Application No. PCT/CN2016/099995.
- International Search Report, dated Dec. 26, 2016, in International Application No. PCT/CN2016/099995 (5 pp.).