| 注册
首页|期刊导航|计算机工程与科学|面向同构非对称多核的OpenOCD调试功能优化研究

面向同构非对称多核的OpenOCD调试功能优化研究

唐竹 陈宝海 王敬宇 朱琪

计算机工程与科学2025,Vol.47Issue(1):45-55,11.
计算机工程与科学2025,Vol.47Issue(1):45-55,11.DOI:10.3969/j.issn.1007-130X.2025.01.006

面向同构非对称多核的OpenOCD调试功能优化研究

OpenOCD debugging optimization for isomorphic asymmetric multi-core architecture

唐竹 1陈宝海 1王敬宇 2朱琪2

作者信息

  • 1. 国防科技大学计算机学院,湖南 长沙 410073
  • 2. 江南计算技术研究所,江苏 无锡 214083
  • 折叠

摘要

Abstract

Multi-core architecture is a crucial means of enhancing processor performance,and its ap-plication in network processing is becoming increasingly widespread.Consequently,efficient multi-core debugging tools are also required to improve the development efficiency of multi-core network proces-sors.Since there is not a strong correlation among multi-core processing network tasks,the service cores more often adopt the RTC processing mode rather than the Pipeline mode,and the complex cache coherence logic is not necessary among multiple service cores.Therefore,by adopting a homogeneous AMP architecture,chip complexity and research and development costs can be effectively reduced.Cur-rently,asymmetric multi-core debugging requires the simultaneous launching of multiple GDBs,which not only complicates the debugging process but also results in significant resource consumption.This paper optimizes the OpenOCD multi-port debugging solution for homogeneous asymmetric multi-core scenarios,enabling debugging of multiple asymmetric cores through a single GDB port while also sup-porting mixed scenarios of symmetric multi-processing core clusters and asymmetric multi-core.Final-ly,an asymmetric multi-core debugging environment is built based on the RISC-V hardware and soft-ware platform,and GDB debugging commands,such as thread operations,step execution,step over,continue running,stack viewing,and breakpoint setting are tested,verifying the feasibility and effec-tiveness of single-port OpenOCD for asymmetric multi-core debugging.

关键词

非对称多处理/多核调试/OpenOCD/单端口

Key words

asymmetric multi-processing/multi-core debugging/OpenOCD/single port

分类

信息技术与安全科学

引用本文复制引用

唐竹,陈宝海,王敬宇,朱琪..面向同构非对称多核的OpenOCD调试功能优化研究[J].计算机工程与科学,2025,47(1):45-55,11.

基金项目

国家自然科学基金(61972412,62202489) (61972412,62202489)

计算机工程与科学

OA北大核心

1007-130X

访问量0
|
下载量0
段落导航相关论文