首页> 外国专利> Debugging method, multi-core processor, and debugging device

Debugging method, multi-core processor, and debugging device

机译:调试方法,多核处理器及调试装置

摘要

Embodiments of the present invention relate to the field of computer technologies. The embodiments of the present invention provide a debugging method, including: stopping running, by a core A of a multi-core processor, 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 and stopping running after completing the execution of the debugging information collection function; after receiving a second stop termination instruction and resuming running, sending a running resumption instruction to the other cores; and knocking a pending breakpoint in a process of running an operation object of the preset event, so as to enter a debugging state. According to the technical solutions provided in the embodiments of the present invention, kernel mode code and user mode code can be debugged on a same debugging platform.
机译:本发明的实施例涉及计算机技术领域。本发明实施例提供了一种调试方法,包括:通过多核处理器的核A停止运行,并在停止运行的过程中向其他核发送运行停止信号;收到第一停止终止指令并恢复运行后,执行调试信息收集功能,并在完成调试信息收集功能执行后停止运行;在接收到第二停止终止指令并恢复运行后,向其他核发送运行恢复指令;在运行所述预设事件的操作对象的过程中敲除待决的断点,以进入调试状态。根据本发明实施例提供的技术方案,可以在同一调试平台上调试内核模式代码和用户模式代码。

著录项

  • 公开/公告号US10503629B2

    专利类型

  • 公开/公告日2019-12-10

    原文格式PDF

  • 申请/专利权人 HUAWEI TECHNOLOGIES CO. LTD.;

    申请/专利号US201815936030

  • 发明设计人 MINGFA WANG;GANG YU;HAICHUAN WANG;

    申请日2018-03-26

  • 分类号G06F11/36;G06F11/22;G06F9/54;G06F9/445;G06F9/48;

  • 国家 US

  • 入库时间 2022-08-21 11:23:55

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号